Deploy to Artifactory.

Resolves gh-1
This commit is contained in:
Rob Winch
2017-06-08 16:56:08 -05:00
committed by John Blum
parent 163dd4f6b9
commit 8ddbeab2c7

10
Jenkinsfile vendored
View File

@@ -56,6 +56,16 @@ try {
}
if(currentBuild.result == 'SUCCESS') {
parallel artifactory: {
stage('Artifactory Deploy') {
node {
checkout scm
withCredentials([usernamePassword(credentialsId: '02bd1690-b54f-4c9f-819d-a77cb7a9822c', usernameVariable: 'ARTIFACTORY_USERNAME', passwordVariable: 'ARTIFACTORY_PASSWORD')]) {
sh "./gradlew check artifactoryPublish -x check -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --no-daemon --stacktrace"
}
}
}
},
parallel docs: {
stage('Deploy Docs') {
node {