Merge pull request #14 from prairir/jenkinssetup

Created Jenkinsfile for building app
This commit is contained in:
Brady-Malott 2023-02-13 20:24:37 -05:00 committed by GitHub
commit e07f3bb3db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,20 @@
pipeline {
agent { dockerfile true }
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Build') {
steps {
sh 'docker build -t microblog:latest .'
}
}
}
}