Add fixes in openci job 05/62605/1
authorYolanda Robla <yroblamo@redhat.com>
Thu, 20 Sep 2018 08:05:21 +0000 (10:05 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Thu, 20 Sep 2018 08:07:49 +0000 (10:07 +0200)
Force workspace cleanup
Do not use credentials plugin, but hardcode it.

Change-Id: I5b6e59382c25fc75a748f90fbd030521dac9071f
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
jjb/openci/create-cde.sh
jjb/openci/openci-opnfv-daily-jobs.yaml

index b4b273a..12ede63 100755 (executable)
@@ -34,6 +34,10 @@ cat <<EOF > ./json_body.txt
 }
 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"
index 3cacee6..40e61ce 100644 (file)
       - 'opnfv-build-defaults'
 
     wrappers:
-      - credentials-binding:
-          - username-password-separated:
-              credential-id: openci-connect-activemq
-              username: ACTIVEMQ_USER
-              password: ACTIVEMQ_PASSWORD
+      - workspace-cleanup
 
     triggers:
       - jms-messaging: