rebuilds the container every wednesday
Some checks failed
tv7playlist/pipeline/head There was a failure building this commit
Some checks failed
tv7playlist/pipeline/head There was a failure building this commit
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -1,3 +1,6 @@
|
|||||||
|
// Multi-branch pipeline. Build once on wednesday from a "master" branch only
|
||||||
|
CRON_SETTINGS = BRANCH_NAME == "master" ? '''H H * * 3'''
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
environment {
|
environment {
|
||||||
imagename = "phaefelfinger/tv7playlist"
|
imagename = "phaefelfinger/tv7playlist"
|
||||||
@@ -7,6 +10,10 @@ pipeline {
|
|||||||
|
|
||||||
agent { node { label 'docker' } }
|
agent { node { label 'docker' } }
|
||||||
|
|
||||||
|
triggers {
|
||||||
|
cron(CRON_SETTINGS)
|
||||||
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Cloning repository') {
|
stage('Cloning repository') {
|
||||||
steps {
|
steps {
|
||||||
|
Reference in New Issue
Block a user