[ 
https://issues.apache.org/jira/browse/HBASE-21690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Somogyi resolved HBASE-21690.
-----------------------------------
      Assignee: Peter Somogyi
    Resolution: Fixed

After removing _Scan Multibranch Pipeline Triggers_ -> _Periodically if not 
otherwise run_ option from HBase Nightly's configuration the builds are not 
triggered for each commit.

> Nightly jobs should only trigger daily if there have been SCM changes
> ---------------------------------------------------------------------
>
>                 Key: HBASE-21690
>                 URL: https://issues.apache.org/jira/browse/HBASE-21690
>             Project: HBase
>          Issue Type: Task
>          Components: test
>            Reporter: Sean Busbey
>            Assignee: Peter Somogyi
>            Priority: Major
>
> Looking back at our Jenkinsfile I just realized why we're running Nightlies 
> every day for all branches regardless of changes. We use this stanza:
> {code}
>   triggers {
>     cron('@daily')
>   }
> {code}
> It should probably be a daily check to see if the branch has changed. That 
> would alleviate both my own concerns about stale feature branches and some of 
> the infra concerns about how many build slots we've been using.
> If possible, having a "build once a week (or month) even if there have been 
> no changes" would be nice, but I haven't looked at the Jenkins Pipeline DSL 
> in a while so I can't remember if the set of triggers is an OR.
> relevant docs:
> https://jenkins.io/doc/book/pipeline/syntax/#triggers



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to