openci: Add ActiveMQ credentials binding 49/68449/1
authorFatih Degirmenci <fdegir@gmail.com>
Fri, 21 Sep 2018 15:01:19 +0000 (17:01 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Fri, 21 Sep 2018 15:01:19 +0000 (17:01 +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: Ie35bb5bd6f53be223bdc7301485648e5471f87e1
Issue-ID: CIMAN-161
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
jjb/openci/openci-onap-daily-jobs.yaml

index bf6afde..b956da7 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 publish it using the python utility