]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
jjb: Use credentials binding plugin for JOB_BUILDER creds
authorDavid Galloway <dgallowa@redhat.com>
Tue, 14 May 2019 14:38:51 +0000 (10:38 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 14 May 2019 17:14:18 +0000 (13:14 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
jenkins-job-builder/config/definitions/jjb.yml

index 361f43d52f3d1d6ac9e9e9ad2c2e4ba33c970d54..ae245d5773f035bf65de26a942e1bc8bfe31a93c 100644 (file)
@@ -29,6 +29,11 @@ If this is checked, JJB will wipe out its cache and force each job to align with
       - inject-passwords:
           global: true
           mask-password-params: true
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: jenkins-api-token
+              username: JOB_BUILDER_USER
+              password: JOB_BUILDER_PASS
 
     scm:
       - git: