jenkinsfile for robo
This commit is contained in:
2
dockerfiles/tasks/Jenkinsfile
vendored
2
dockerfiles/tasks/Jenkinsfile
vendored
@@ -3,7 +3,7 @@ pipeline {
|
|||||||
parameters {
|
parameters {
|
||||||
choice(
|
choice(
|
||||||
name: 'IMAGE',
|
name: 'IMAGE',
|
||||||
choices: ['ansible', 'apidocjs', 'composer', 'mondrian', 'php'],
|
choices: ['ansible', 'apidocjs', 'composer', 'mondrian', 'php', 'robo'],
|
||||||
description: 'What image would you like to build?'
|
description: 'What image would you like to build?'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
17
dockerfiles/tasks/robo/Jenkinsfile
vendored
Normal file
17
dockerfiles/tasks/robo/Jenkinsfile
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
pipeline {
|
||||||
|
agent { label 'docker' }
|
||||||
|
triggers {
|
||||||
|
cron('@daily')
|
||||||
|
}
|
||||||
|
options {
|
||||||
|
disableConcurrentBuilds()
|
||||||
|
buildDiscarder(logRotator(numToKeepStr: '2'))
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Build Image') {
|
||||||
|
steps {
|
||||||
|
build job: '_build_image', parameters: [string(name: 'IMAGE', value: 'robo')], quietPeriod: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user