mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-22 18:46:27 +01:00
maven test 2
This commit is contained in:
parent
141861daa3
commit
f564431f5a
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -33,6 +33,7 @@ pipeline {
|
|||||||
publisherStrategy: 'EXPLICIT',
|
publisherStrategy: 'EXPLICIT',
|
||||||
) {
|
) {
|
||||||
sh '''
|
sh '''
|
||||||
|
whereis mvn && exit
|
||||||
./gradlew setupUpstream
|
./gradlew setupUpstream
|
||||||
./gradlew applyPatches
|
./gradlew applyPatches
|
||||||
'''
|
'''
|
||||||
@ -51,7 +52,6 @@ pipeline {
|
|||||||
) {
|
) {
|
||||||
withCredentials([usernamePassword(credentialsId: 'jenkins-deploy', usernameVariable: 'ORG_GRADLE_PROJECT_mavenUsername', passwordVariable: 'ORG_GRADLE_PROJECT_mavenPassword')]) {
|
withCredentials([usernamePassword(credentialsId: 'jenkins-deploy', usernameVariable: 'ORG_GRADLE_PROJECT_mavenUsername', passwordVariable: 'ORG_GRADLE_PROJECT_mavenPassword')]) {
|
||||||
sh '''
|
sh '''
|
||||||
mvn --version && exit #for testing purposes, remove later
|
|
||||||
./gradlew clean build paperclip publish
|
./gradlew clean build paperclip publish
|
||||||
mkdir -p "./target"
|
mkdir -p "./target"
|
||||||
basedir=$(pwd)
|
basedir=$(pwd)
|
||||||
|
Loading…
Reference in New Issue
Block a user