Update Jenkinsfile
This commit is contained in:
parent
8e5f47cb5e
commit
d5c9f7cc2f
|
@ -1,10 +1,11 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { dockerfile true }
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'echo building...'
|
sh 'echo building...'
|
||||||
|
sh 'docker run -p 5000:5000 microblog:latest'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue