Skip to content

Commit 4d6f286

Browse files
Update Jenkinsfile
1 parent d298f5b commit 4d6f286

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!groovy
22
pipeline {
33
environment {
4-
registry = 'nithishnithi/tomcat'
5-
containerName = 'my-container'
4+
registry = 'nithishnithi/tomcat1'
5+
containerName = 'my-container1'
66
registryCredentials = 'Docker_credential'
77
}
88
agent {label'docker'}
@@ -32,7 +32,7 @@ pipeline {
3232
}
3333
stage('Deploy ') {
3434
steps {
35-
sh 'docker run -itd --name ${containerName} -p 8090:8080 ${registry}'
35+
sh 'docker run -itd --name ${containerName} -p 8000:8080 ${registry}'
3636
}
3737

3838
}

0 commit comments

Comments
 (0)