Add jjb credentials to infra-jjb-verify 25/125/1
authorFatih Degirmenci <fdegir@gmail.com>
Fri, 19 Oct 2018 13:10:56 +0000 (15:10 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Fri, 19 Oct 2018 13:10:56 +0000 (15:10 +0200)
Change-Id: I1dded16c612ebcc947f7087171cf821aa052f0e1
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
jjb/global/jjb-macros.yaml
jjb/infra/jjb-verify.yaml

index ad2c0b6a58df13e8193e8a64448536193426f781..e4f23a2d29f098b661fb1d8251554be31dfcf9c1 100644 (file)
               file-paths:
                 - compare-type: 'ANT'
                   pattern: '{files}'
+
+# wrappers to use for jobs
+- wrapper:
+    name: nordixinfra-jjb-creds-wrapper
+    wrappers:
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: nordixinfra-jjb-creds
+              username: JJB_USERNAME
+              password: JJB_USERTOKEN
index 41113a99dce19094b9e34ac8a325f4772262dc5c..25f33d14e553e3f055a6de5308b89e20a5c426e5 100644 (file)
@@ -38,6 +38,9 @@
           branch: '{branch}'
           files: 'jjb/**'
 
+    wrappers:
+      - nordixinfra-jjb-creds-wrapper
+
     builders:
       - shell:
           !include-raw-escape: ./jjb-verify.sh