- add Jenkinsfile
This commit is contained in:
Vendored
+21
@@ -0,0 +1,21 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
options {
|
||||||
|
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||||
|
disableConcurrentBuilds()
|
||||||
|
timeout(time: 1, unit: 'MINUTES')
|
||||||
|
timestamps()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Docker build') {
|
||||||
|
steps {
|
||||||
|
echo 'Docker build'
|
||||||
|
sh "docker build -t rezid/geotracker"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user