openci: Add ActiveMQ credentials binding 51/76351/1
authorFatih Degirmenci <fdegir@gmail.com>
Fri, 21 Sep 2018 14:58:51 +0000 (16:58 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Fri, 21 Sep 2018 15:00:20 +0000 (17:00 +0200)
The ActiveMQ credentials are used by Python publisher for
connecting to the broker.

In order for the credentials to be available to the job,
ActiveMQ credentials need to be added to Jenkins with a
name/uid openci-connect-activemq.

Change-Id: I7f575d239888ddc598a85c4afddfc8674649468e
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
jjb/openci/openci-odl-daily-jobs.yaml

index 038790b301a23a5bca4f2e44866a8083371c8fc1..350306a6f5a91ff385487d8c74d69add4b44a50c 100644 (file)
           default: "'autorelease': 'SUCCESS'"
           description: 'The confidence level the published artifact gained'
 
+    wrappers:
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: openci-connect-activemq
+              username: ACTIVEMQ_USER
+              password: ACTIVEMQ_PASSWORD
+      - workspace-cleanup
+
     builders:
       # this build step in the job executes create-ape.sh to construct the
       # ArtifactPublishedEvent (ape) and publishes it using the python utility