From 8ddbeab2c7995eb31390cca58174e5f1e090f9a5 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Thu, 8 Jun 2017 16:56:08 -0500 Subject: [PATCH] Deploy to Artifactory. Resolves gh-1 --- Jenkinsfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 767fead..9df672e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 {