diff --git a/dockerfiles/tasks/Jenkinsfile b/dockerfiles/tasks/Jenkinsfile index 1c85d51..f217f1a 100644 --- a/dockerfiles/tasks/Jenkinsfile +++ b/dockerfiles/tasks/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { parameters { choice( name: 'IMAGE', - choices: ['ansible', 'apidocjs', 'composer', 'mondrian', 'php'], + choices: ['ansible', 'apidocjs', 'composer', 'mondrian', 'php', 'robo'], description: 'What image would you like to build?' ) } diff --git a/dockerfiles/tasks/robo/Jenkinsfile b/dockerfiles/tasks/robo/Jenkinsfile new file mode 100644 index 0000000..f49e4c0 --- /dev/null +++ b/dockerfiles/tasks/robo/Jenkinsfile @@ -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 + } + } + } +}