From bc48fcb9a8c40e91b0aa06051be9497647e80b9f Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Tue, 21 Aug 2018 23:26:41 -0400 Subject: [PATCH] Preparing for maven repo deployment. --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 638e40dfe..c416b3bd8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent { docker { image 'openjdk:8-jdk-slim' - args '-v gradle-cache:/root/.gradle:rw' + args '-v gradle-cache:/root/.gradle:rw -v maven-repo:/maven-repo:rw' } } @@ -18,5 +18,10 @@ pipeline { sh './gradlew test' } } + stage('Deploy Artifacts') { + steps { + sh './gradlew publish' + } + } } } \ No newline at end of file