Merge pull request #14 from prairir/jenkinssetup
Created Jenkinsfile for building app
This commit is contained in:
commit
e07f3bb3db
|
@ -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