We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51950bd commit 82c56ebCopy full SHA for 82c56eb
java-tomcat-sample-docker/Jenkinsfile
@@ -30,8 +30,8 @@ pipeline {
30
catchError (buildResult:'SUCCESS', stageResult: 'FAILURE') {
31
sh "docker images"
32
sh "docker container ls"
33
- sh "docker container stop bipin115/samplewebapp"
34
- sh "docker rm -f bipin115/samplewebapp"
+ sh "docker container stop samplewebapp"
+ sh "docker rm -f samplewebapp"
35
sh "docker image rm -f bipin115/samplewebapp"
36
}
37
@@ -56,7 +56,7 @@ pipeline {
56
stage('Run Docker container') {
57
58
steps {
59
- sh "docker run --name bipin115/samplewebapp -d -p 9090:8080 bipin115/samplewebapp"
+ sh "docker run --name samplewebapp -d -p 9090:8080 bipin115/samplewebapp"
60
61
62
0 commit comments