From f416c288fab0ffa2be58f82e54a599725dc3e047 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 27 Oct 2015 09:15:06 -0500 Subject: [PATCH] allow some jobs to use globally configured variables Thes variables are defined on the jenkins master using the web UI. http://jenkins.ceph.com/configure Signed-off-by: Andrew Schoen --- ceph-build-next/config/definitions/ceph-build-next.yml | 5 +++++ ceph-next/config/definitions/ceph-next.yml | 5 +++++ ceph-setup-next/config/definitions/ceph-setup-next.yml | 5 +++++ jenkins-job-builder/config/definitions/jjb.yml | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/ceph-build-next/config/definitions/ceph-build-next.yml b/ceph-build-next/config/definitions/ceph-build-next.yml index ee05f59e..5636ed30 100644 --- a/ceph-build-next/config/definitions/ceph-build-next.yml +++ b/ceph-build-next/config/definitions/ceph-build-next.yml @@ -51,3 +51,8 @@ artifacts: 'dist/**' allow-empty: false latest-only: false + + wrappers: + - inject-passwords: + global: true + mask-password-params: true diff --git a/ceph-next/config/definitions/ceph-next.yml b/ceph-next/config/definitions/ceph-next.yml index 02cdb6ed..d3d1d9ec 100644 --- a/ceph-next/config/definitions/ceph-next.yml +++ b/ceph-next/config/definitions/ceph-next.yml @@ -54,3 +54,8 @@ If this is checked, then the builds will be pushed to chacra under the 'test' re - name: ceph-build-next current-parameters: true exposed-scm: false + + wrappers: + - inject-passwords: + global: true + mask-password-params: true diff --git a/ceph-setup-next/config/definitions/ceph-setup-next.yml b/ceph-setup-next/config/definitions/ceph-setup-next.yml index 9074fb2b..a445543e 100644 --- a/ceph-setup-next/config/definitions/ceph-setup-next.yml +++ b/ceph-setup-next/config/definitions/ceph-setup-next.yml @@ -40,3 +40,8 @@ artifacts: 'dist/**' allow-empty: false latest-only: false + + wrappers: + - inject-passwords: + global: true + mask-password-params: true diff --git a/jenkins-job-builder/config/definitions/jjb.yml b/jenkins-job-builder/config/definitions/jjb.yml index 8bfc7fb5..40c6decf 100644 --- a/jenkins-job-builder/config/definitions/jjb.yml +++ b/jenkins-job-builder/config/definitions/jjb.yml @@ -15,6 +15,11 @@ - pollscm: "H */3 * * *" - github + wrappers: + - inject-passwords: + global: true + mask-password-params: true + scm: - git: url: https://github.com/ceph/ceph-build.git -- 2.39.5