X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopenci%2Fcreate-cde.sh;h=9780119ce2feb3fb728f950aba64b21e07a06a27;hb=c04f88ca91b7612c70bcae9c8a70a98d5bd46c6e;hp=37d2452132d491dfcbcbecd99abddb0a38f3ec19;hpb=4cd5733f55a46acd1025589a7e904fb4c89fad7a;p=releng.git diff --git a/jjb/openci/create-cde.sh b/jjb/openci/create-cde.sh index 37d245213..9780119ce 100755 --- a/jjb/openci/create-cde.sh +++ b/jjb/openci/create-cde.sh @@ -31,20 +31,17 @@ cat < ./json_body.txt "buildUrl": "$BUILD_URL", "branch": "master", "origin": "$PUBLISH_EVENT_ORIGIN", + "scenario": "$DEPLOY_SCENARIO", "compositionName": "$DEPLOY_SCENARIO", "compositionMetadataUrl": "$SCENARIO_METADATA_LOCATION" } EOF -# temporary: until we can embed credentials plugin -ACTIVEMQ_USER="openci" -ACTIVEMQ_PASSWORD="openciP@ssw0rd" - -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