Update Jenkinsfile
This commit is contained in:
parent
d5c9f7cc2f
commit
71d12a1f76
|
@ -4,8 +4,10 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'echo building...'
|
node {
|
||||||
sh 'docker run -p 5000:5000 microblog:latest'
|
checkout scm
|
||||||
|
def customImage = docker.build("microblog:latest")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue