From 18bd909bfc1c4af20d92b2ca4521249c3bfad227 Mon Sep 17 00:00:00 2001 From: ImranT Date: Thu, 21 May 2020 14:37:43 +0530 Subject: [PATCH] fixed jenkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 97d574a..348c679 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { } stage ('Copy Artifact to Nexus Job'){ steps { - sh 'cp /var/lib/jenkins/workspace/Vprofile-pipeline/target/vprofile-v3.war /var/lib/jenkins/workspace/Vprofile-Nexus-Versioning/vprofile-v3.war' + sh 'cp /var/lib/jenkins/workspace/vprofile-pipeline/target/vprofile-v4.1war /var/lib/jenkins/workspace/vprofile-nexus-versioning/vprofile-v4.1.war' } post { success { @@ -34,13 +34,13 @@ pipeline { } stage ('Nexus Versioning'){ steps { - build job: 'Vprofile-Nexus-Versioning' + build job: 'vprofile-nexus-versioning' } } stage ('Copy Artifact to Staging Deploy Job'){ steps { - sh 'cp /var/lib/jenkins/workspace/Vprofile-pipeline/target/vprofile-v3.war /var/lib/jenkins/workspace/Vprofile-Deploy-to-Staging/vprofile-v3.war' + sh 'cp /var/lib/jenkins/workspace/vprofile-pipeline/target/vprofile-v4.1.war /var/lib/jenkins/workspace/vprofile-deploy-to-staging/vprofile-v4.1.war' } post { success {