maven test 2

This commit is contained in:
Simon Gardling 2021-04-06 22:35:23 -04:00
parent 141861daa3
commit f564431f5a

2
Jenkinsfile vendored
View File

@ -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)