Created Jenkinsfile for building app
This commit is contained in:
parent
3472187155
commit
0da675a8a4
|
@ -0,0 +1,20 @@
|
|||
pipeline {
|
||||
agent { dockerfile true }
|
||||
|
||||
stages {
|
||||
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'docker build -t microblog:latest .'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue