We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d298f5b commit 4d6f286Copy full SHA for 4d6f286
1 file changed
Jenkinsfile
@@ -1,8 +1,8 @@
1
#!groovy
2
pipeline {
3
environment {
4
- registry = 'nithishnithi/tomcat'
5
- containerName = 'my-container'
+ registry = 'nithishnithi/tomcat1'
+ containerName = 'my-container1'
6
registryCredentials = 'Docker_credential'
7
}
8
agent {label'docker'}
@@ -32,7 +32,7 @@ pipeline {
32
33
stage('Deploy ') {
34
steps {
35
- sh 'docker run -itd --name ${containerName} -p 8090:8080 ${registry}'
+ sh 'docker run -itd --name ${containerName} -p 8000:8080 ${registry}'
36
37
38
0 commit comments