Add trigger for github plugin 68/4968/8 v0.2.1
authorJeremy Phelps <jphelps@linuxfoundation.org>
Wed, 24 May 2017 12:58:06 +0000 (07:58 -0500)
committerJeremy Phelps <jphelps@linuxfoundation.org>
Wed, 24 May 2017 17:09:19 +0000 (12:09 -0500)
JIRA: RELENG-127
Change-Id: I5e10d5e5d3a530fedfdd0d762b1f212a9acfbe09
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
jjb/lf-ci-jobs.yaml
jjb/lf-macros.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}'
index 175af86..e9b1b64 100644 (file)
     scm:
       - git:
           credentials-id: '{jenkins-ssh-credential}'
-          url: '$GIT_URL/$PROJECT'
+          url: '{url}'
           refspec: '{refspec}'
           skip-tag: true
           wipe-workspace: true