Skip to content

Commit

Permalink
Run weekly builds instead of nightly (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
kierenevans authored Mar 30, 2023
1 parent ea85f03 commit 54f8fd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pipeline {
options {
buildDiscarder(logRotator(daysToKeepStr: '30'))
}
triggers { cron(env.BRANCH_NAME ==~ /^\d+\.\d+\.x$/ ? 'H H(0-6) * * *' : '') }
triggers { cron(env.BRANCH_NAME ==~ /^\d+\.\d+\.x$/ ? 'H H(2-6) * * 1' : '') }
stages {
stage('BuildAndTest') {
matrix {
Expand Down
4 changes: 2 additions & 2 deletions application/overlay/Jenkinsfile.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pipeline {
MY127WS_KEY = credentials('{{ @('jenkins.credentials.my127ws_key') }}')
MY127WS_ENV = "pipeline"
}
triggers { cron(env.BRANCH_NAME == '{{ @('git.main_branch') }}' ? 'H H(0-6) * * *' : '') }
triggers { cron(env.BRANCH_NAME == '{{ @('git.main_branch') }}' ? 'H H(2-6) * * 1' : '') }
stages {
stage('Build') {
steps {
Expand All @@ -22,7 +22,7 @@ pipeline {
{% if @('pipeline.publish.enabled') == 'yes' %}
stage('Publish') {
when { not { triggeredBy 'TimerTrigger' } }
steps {
steps {
milestone(50)
sh 'ws app publish'
{% if @('pipeline.publish.chart.enabled') %}
Expand Down

0 comments on commit 54f8fd5

Please sign in to comment.