Merge "Allow project-pattern to be overridable" v0.8.2
authorJeremy Phelps <jphelps@linuxfoundation.org>
Thu, 7 Sep 2017 00:20:08 +0000 (00:20 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Thu, 7 Sep 2017 00:20:08 +0000 (00:20 +0000)
1  2 
jjb/lf-rtd-jobs.yaml

diff --combined jjb/lf-rtd-jobs.yaml
@@@ -91,6 -91,7 +91,7 @@@
      #     :build-node: The node to run build on.
      #     :build-timeout: Timeout in seconds before aborting build. (default: 15)
      #     :git-url: base URL of git project. (default: https://github.com)
+     #     :project-pattern: Project to trigger build against. (default: **)
      #     :stream: Keyword that can be used to represent a release code-name.
      #         Often the same as the branch. (default: master)
  
      build-days-to-keep: 7
      build-timeout: 15
      git-url: https://github.com
+     project-pattern: '**'
      stream: master
      submodule-recursive: true
  
                  comment-contains-value: 'remerge$'
            projects:
              - project-compare-type: 'ANT'
-               project-pattern: '**'
+               project-pattern: '{project-pattern}'
                branches:
                  - branch-compare-type: 'ANT'
                    branch-pattern: '**/{branch}'
      name: lf-rtd-verify
      # Verify job which runs a tox build of the docs project
      #
 -    # Required parameters:
 -    #
 -    #     :rtd-project: This is the name of the project on ReadTheDocs.org.
 -    #
      # Optional parameters:
      #
      #     :branch: Git branch to fetch for the build. (default: master)
      #     :doc-dir: Directory where tox will place built docs.
      #         as defined in the tox.ini (default: docs/_build/html)
      #     :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
+     #     :project-pattern: Project to trigger build against. (default: **)
      #     :stream: Keyword that can be used to represent a release code-name.
      #         Often the same as the branch. (default: master)
      #     :submodule-recursive: Whether to checkout submodules recursively.
      build-timeout: 15
      doc-dir: docs/_build/html
      git-url: '$GIT_URL/$PROJECT'
+     project-pattern: '**'
      stream: master
      submodule-recursive: true
  
                  comment-contains-value: 'recheck$'
            projects:
              - project-compare-type: 'ANT'
-               project-pattern: '**'
+               project-pattern: '{project-pattern}'
                branches:
                  - branch-compare-type: 'ANT'
                    branch-pattern: '**/{branch}'