jenkinsfile for robo

This commit is contained in:
2020-04-05 23:17:18 -04:00
parent 7cc970f689
commit 3c912b0a01
2 changed files with 18 additions and 1 deletions

View File

@@ -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
View 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
}
}
}
}