Skip to content

Commit c391f44

Browse files
authored
Update Jenkinsfile
1 parent b322217 commit c391f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pipeline {
2222
}
2323
stage('Build'){
2424
steps {
25-
sh "sudo docker build /home/ubuntu/jenkins/workspace/$PROJECT_NAME -t vistasunil/devopsdemo"
25+
sh "sudo docker build /home/ubuntu/jenkins/workspace/${JOB_NAME} -t vistasunil/devopsdemo"
2626
}
2727
}
2828
stage('Docker Push'){

0 commit comments

Comments
 (0)