Skip to content

Commit a429703

Browse files
authored
Update jenkinsfile.groovy
1 parent eea94e7 commit a429703

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jenkinsfile.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ error 'Build failed!'
2828
stage('Deploy') {
2929
try {
3030

31-
sh 'sudo rsync -av /home/ubuntu/jenkins/workspace/artifact-deployment/target/works-with-heroku-1.0.war /opt/apache-tomcat-9.0.96/webapps'
31+
sh 'sudo rsync -av /home/ubuntu/jenkins/workspace/scripted-pipeline/target/works-with-heroku-1.0.war /opt/apache-tomcat-9.0.96/webapps'
3232
echo 'Successfully deployed'
3333
} catch (Exception e) {
3434
error 'Deployment failed!'

0 commit comments

Comments
 (0)