diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2016-08-18 07:57:46 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2016-08-18 09:29:48 +0000 |
commit | e43213bfe3697133d61d1c8569dc5bc94858328b (patch) | |
tree | 9fcc040a43e174edad71ccc6a8393e73558b8cbc /trigger-build-odp-next.yaml | |
parent | 4052c65717e95688bd7a8c6785bf24ad964521a6 (diff) |
odp: add trigger jobs for next and api-next
Only build ODPs next and api-next branch on commit.
Add master to be built on commit as well. However, keep the daily build
of master also.
Change-Id: Ie79faf4fbcba6e1b5cf5c098210996589f61006f
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'trigger-build-odp-next.yaml')
-rw-r--r-- | trigger-build-odp-next.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/trigger-build-odp-next.yaml b/trigger-build-odp-next.yaml new file mode 100644 index 0000000000..7bd778a3fe --- /dev/null +++ b/trigger-build-odp-next.yaml @@ -0,0 +1,40 @@ +- job: + name: trigger-build-odp-api-next + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + parameters: + - string: + name: GIT_BRANCH + default: 'next' + disabled: false + node: build + display-name: 'Trigger for ODPs next' + scm: + - git: + url: https://git.linaro.org/lng/odp.git + refspec: +refs/heads/${GIT_BRANCH}:refs/remotes/origin/${GIT_BRANCH} + name: origin + branches: + - refs/heads/${GIT_BRANCH} + basedir: odp + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + publishers: + - trigger-parameterized-builds: + - project: 'odp-api-check' + predefined-parameters: GIT_BRANCH=${GIT_BRANCH} + condition: SUCCESS |