summaryrefslogtreecommitdiffstats
path: root/jjb/openci
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/openci')
-rwxr-xr-xjjb/openci/create-ape.sh4
-rw-r--r--jjb/openci/openci-onap-daily-jobs.yaml8
2 files changed, 10 insertions, 2 deletions
diff --git a/jjb/openci/create-ape.sh b/jjb/openci/create-ape.sh
index c54e0ef7e..5bd3a0676 100755
--- a/jjb/openci/create-ape.sh
+++ b/jjb/openci/create-ape.sh
@@ -37,11 +37,11 @@ cat <<EOF > ./json_body.txt
}
EOF
-python openci_publish -H 129.192.69.55 -U ${ACTIVEMQ_USER} -p ${ACTIVEMQ_PASSWORD} -n openci.prototype -B ./json_body.txt
-
echo "Constructed $PUBLISH_EVENT_TYPE"
echo "--------------------------------------------"
cat ./json_body.txt
echo "--------------------------------------------"
+python openci_publish -H 129.192.69.55 -U ${ACTIVEMQ_USER} -p ${ACTIVEMQ_PASSWORD} -n openci.prototype -B ./json_body.txt
+
deactivate
diff --git a/jjb/openci/openci-onap-daily-jobs.yaml b/jjb/openci/openci-onap-daily-jobs.yaml
index bf6afde05..b956da779 100644
--- a/jjb/openci/openci-onap-daily-jobs.yaml
+++ b/jjb/openci/openci-onap-daily-jobs.yaml
@@ -45,6 +45,14 @@
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