Skip to content

Commit

Permalink
fixed jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
devopshydclub committed May 21, 2020
1 parent c103922 commit 18bd909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 18bd909

Please sign in to comment.