[lxc-devel] [lxc-ci/master] jenkins: Run trigger builds only once
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Mon Aug 12 18:31:54 UTC 2019
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 356 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190812/d7c35279/attachment.bin>
-------------- next part --------------
From faa289ba5a3172f782bbae8ca701b392e9729b82 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Mon, 12 Aug 2019 20:31:24 +0200
Subject: [PATCH] jenkins: Run trigger builds only once
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
jenkins/jobs/lxc-github-commit.yaml | 33 ++++++++++++++---------------
1 file changed, 16 insertions(+), 17 deletions(-)
diff --git a/jenkins/jobs/lxc-github-commit.yaml b/jenkins/jobs/lxc-github-commit.yaml
index 02f5f00..b8bcc88 100644
--- a/jenkins/jobs/lxc-github-commit.yaml
+++ b/jenkins/jobs/lxc-github-commit.yaml
@@ -49,23 +49,6 @@
cd /lxc
exec sudo /lxc-ci/bin/testbuild-${{compiler}} https://github.com/lxc/lxc {branch} ${{GIT_COMMIT}} --use-daily
- - trigger-builds:
- - project:
- - lxc-build-android
- - lxc-build-tarballs
- predefined-parameters: |-
- sha1=${{GIT_COMMIT}}
- branch={branch}
-
- - project:
- - lxc-build-ubuntu-source
- predefined-parameters: |-
- sha1=${{GIT_COMMIT}}
- pkg_version={pkg_version}
- pkg_branch=ppa-daily
- upload_target=lxc-git-{branch}
- branch={branch}
-
properties:
- build-discarder:
days-to-keep: 7
@@ -95,6 +78,22 @@
- workspace-cleanup:
fail-build: false
+ - trigger-parameterized-builds:
+ - project:
+ - lxc-build-android
+ - lxc-build-tarballs
+ predefined-parameters: |-
+ sha1=${{GIT_COMMIT}}
+ branch={branch}
+
+ - project:
+ - lxc-build-ubuntu-source
+ predefined-parameters: |-
+ sha1=${{GIT_COMMIT}}
+ pkg_version={pkg_version}
+ pkg_branch=ppa-daily
+ upload_target=lxc-git-{branch}
+ branch={branch}
scm:
- git:
branches:
More information about the lxc-devel
mailing list