Change-Id: I52b42a8a90f07554bd069f95ead986937ece6f50
- archive:
artifacts: 'stack_data.sh'
only-if-success: true
+ - description-setter:
+ regex: "description-setter:(.*)\n"
openstack stack create --wait -t ${TEMPLATE_FILE} --parameter "${parameter_string}" ${STACK_NAME}
openstack stack output show "${STACK_NAME}" --all
+ FLOATING_IP=$(heat output-show ${STACK_NAME} floating_ip)
+ echo "description-setter:${STACK_NAME}: ${FLOATING_IP}"
cat >stack_data.sh <<EOF
STACK_NAME=${STACK_NAME}
-STACK_FLOATING_IP=$(heat output-show ${STACK_NAME} floating_ip)
+STACK_FLOATING_IP=${FLOATING_IP}
EOF
deactivate