On Saturday, July 13, 2019 at 1:07:16 PM UTC+2, Ivan Fernandez Calvo wrote:
>
> Hi,
>
> Every branch has its own Jenkinsfile, so you can have different
> configuration on every Jenkinsfile
>
Hi Ivan,
Merge conflicts shall be avoided at all possible cost, therefor my previous
solution shall
Hi,
Every branch has its own Jenkinsfile, so you can have different
configuration on every Jenkinsfile
--
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
To answer my own question:
#!/usr/bin/env groovy
def schedule = env.BRANCH_NAME.contains('master') ? '@weekly' : env.BRANCH_NAME
== 'develop' ? '@midnight' : ''
pipeline {
triggers {
cron(schedule)
}
Worked for me.
On Tuesday, July 9, 2019 at 10:34:06 AM UTC+2, Amedee Van