diff --git a/env.provision.sh b/env.provision.sh index 60b7197..4432001 100755 --- a/env.provision.sh +++ b/env.provision.sh @@ -56,6 +56,8 @@ else curl ${MANIFEST} --output ./run-artifacts/curl-manifest MANIFEST="curl-manifest" fi +sed -i -e "s/NEXUS_USERNAME/$(echo ${NEXUS_USERNAME} | sed -e 's/\\/\\\\/g; s/\//\\\//g; s/&/\\\&/g')/g" ./run-artifacts/${MANIFEST} +sed -i -e "s/NEXUS_PASSWORD/$(echo ${NEXUS_PASSWORD} | sed -e 's/\\/\\\\/g; s/\//\\\//g; s/&/\\\&/g')/g" ./run-artifacts/${MANIFEST} echo "$(date +'%d %B %Y - %k:%M') == Executing manifest: ${MANIFEST} ==" curl -u root:${SUPER_USER_PASSWORD} -X POST ${JAHIA_URL}/modules/api/provisioning --form script="@./run-artifacts/${MANIFEST};type=text/yaml" $(find assets -type f | sed -E 's/^(.+)$/--form file=\"@\1\"/' | xargs) diff --git a/package.json b/package.json index 5be141d..b7875b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jahia/cypress", - "version": "3.23.0", + "version": "3.24.0", "scripts": { "build": "tsc", "lint": "eslint src -c .eslintrc.json --ext .ts"