add Jenkinsfile for php image

This commit is contained in:
2019-02-09 22:50:41 -05:00
parent 43e7eda6a7
commit 9405d08c1b
6 changed files with 63 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ pipeline {
description: 'What image would you like to build?'
)
}
options {
disableConcurrentBuilds(),
buildDiscarder(logRotator(numToKeepStr: '10'))
}
stages {
stage('Build Image') {
steps {

17
dockerfiles/tasks/ansible/Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,17 @@
pipeline {
agent any
triggers {
cron('@daily')
}
options {
disableConcurrentBuilds(),
buildDiscarder(logRotator(numToKeepStr: '2'))
}
stages {
stage('Build Image') {
steps {
build job: '_build_image', parameters: [string(name: 'IMAGE', value: 'ansible')], quietPeriod: 1
}
}
}
}

17
dockerfiles/tasks/apidocjs/Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,17 @@
pipeline {
agent any
triggers {
cron('@daily')
}
options {
disableConcurrentBuilds(),
buildDiscarder(logRotator(numToKeepStr: '2'))
}
stages {
stage('Build Image') {
steps {
build job: '_build_image', parameters: [string(name: 'IMAGE', value: 'apidocjs')], quietPeriod: 1
}
}
}
}

View File

@@ -3,6 +3,10 @@ pipeline {
triggers {
cron('@daily')
}
options {
disableConcurrentBuilds(),
buildDiscarder(logRotator(numToKeepStr: '2'))
}
stages {
stage('Build Image') {
steps {

17
dockerfiles/tasks/mondrian/Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,17 @@
pipeline {
agent any
triggers {
cron('@daily')
}
options {
disableConcurrentBuilds(),
buildDiscarder(logRotator(numToKeepStr: '2'))
}
stages {
stage('Build Image') {
steps {
build job: '_build_image', parameters: [string(name: 'IMAGE', value: 'mondrian')], quietPeriod: 1
}
}
}
}

View File

@@ -3,6 +3,10 @@ pipeline {
triggers {
cron('@daily')
}
options {
disableConcurrentBuilds(),
buildDiscarder(logRotator(numToKeepStr: '2'))
}
stages {
stage('Build Image') {
steps {