Add trigger for github plugin
[releng/global-jjb.git] / jjb / lf-ci-jobs.yaml
index b1d3646..5651f51 100644 (file)
 
     scm:
       - lf-infra-github-scm:
-          url: '$GIT_URL/$PROJECT'
+          url: '{github-url}/{github-org}/{project}'
           refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
           branch: '{branch}'
           submodule-recursive: '{submodule-recursive}'
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
     triggers:
+      - github
+      - pollscm:
+          cron: ''
       - github-pull-request:
           trigger-phrase: '^remerge$'
           only-trigger-phrase: true
 
     scm:
       - lf-infra-github-scm:
-          url: '$GIT_URL/$PROJECT'
+          url: '{github-url}/{github-org}/{project}'
           refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
           branch: '{branch}'
           submodule-recursive: '{submodule-recursive}'