We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c790fae commit 1e3bdc6Copy full SHA for 1e3bdc6
.ci/Jenkinsfile
@@ -30,9 +30,9 @@ pipeline {
30
31
triggers {
32
issueCommentTrigger('(?i).*(?:jenkins\\W+)?run\\W+(?:the\\W+)?tests(?:\\W+please)?.*')
33
- // changeRequest() will return true in case of a commit or a pr
34
- // we will have a daily cron job only ofr branches that don't have an active pr
35
- cron(changeRequest() ? '' : '@daily')
+ // env.CHANGE_ID as a value in case of a commit or a pr, which means
+ // that we will have a daily cron job only for branches that don't have an active pr
+ cron(env.CHANGE_ID ? '' : '@daily')
36
}
37
38
stages {
0 commit comments