Okay, thanks.
However, I tried following:
 
triggers
{
    when { branch 'develop' }
    cron('*/6 * * * *')
}
 
The trigger should only build the develop branch every 6 minutes.
The "when" section is not allowed in this scope. How can I trigger automatica build only for develop branch?
 
 
Gesendet: Dienstag, 08. Mai 2018 um 12:43 Uhr
Von: "Reinhold Füreder" <[email protected]>
An: "[email protected]" <[email protected]>
Betreff: RE: How to trigger nightly build via blue ocean?

Hi Zack,

 

I think “cron” trigger according to https://jenkins.io/doc/book/pipeline/syntax/#triggers might be what you are looking for?

 

Please note that the jenkins pipeline documentation is really helpful => just try to use it…

 

HTH Reinhold

 

 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/VI1P190MB0255305A1652CAD13BD8D2D1F79A0%40VI1P190MB0255.EURP190.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/trinity-b5d6c882-bbf8-458c-98ed-8c2bca51d872-1525856028695%403c-app-gmx-bs54.
For more options, visit https://groups.google.com/d/optout.

Reply via email to