Title: Message Title
Gregg Lowrimore commented on JENKINS-32421
Re: Password Parameters getting lost in the BUILD execution
Here's the resulting config.xml from my Job DSL scripts.
If you go in to the "Generate Environment from script" and echo out $ {ClientPassword}, which is set to 'foobar' for this example below as a parameter on Job startup, you'll see an empty value upon execution. It's not even masked out like it should be, which would indicate some value is indeed present and not null. But it's null. Why? -1 10 -1 20 false false CLOUD Which cloud installation is this to be deployed into? Pivotal Cloud Foundry Open Source Cloud Foundry gitOrg organization gitRepo service-name ClientID client-id-value-here ClientPassword foobar ResourceID openid Build, Package, Unit Test BUILD false false NONEfalse true true true false false false 2 https://github.example.com/organization/repo.git fe58d33b-b173-48de-9ea1-e389419e6b64 refs/heads/master false true false false false JDK 1.8.0_31_x64 H/15 * * * * false false /scm/checkout/path DG BT - Ruby BuildDG BT - Ruby Run Unit TestsDG BT - Publish Test ResultsDG BT - Generate Ruby ChangeLogsDG BT - Ruby Publish ChangeLog ResultsDG BT - Recreate Database for Functional TestsDG BT - Create Deploy to Functional Test CF Space - RubyDG BT - Ruby Run Functional TestsDG BT - Publish Functional Test LogDG BT - Delete Cloud Foundry Functional SpaceDG BT - Package Ruby BundleDG BT - Publish Ruby Bundle target/ */.json false false false false false false false -fn-test.json AND false false #!/usr/bin/env bash -e
echo "==="
echo "Publishing Functional Test log to "
echo "
echo "==="
BASELINE_REPORTS=/scm/baseline_reports
BASELINE_TAG=${ARTIFACTID}_V${BUILD_VERSION}
file="${ARTIFACTID}-fn-test.json"
cd "${WORKSPACE}"
# Should already exist
# mkdir -p ${BASELINE_REPORTS}/${ARTIFACTID}/${BUILD_VERSION}
" class="external-link" rel="nofollow" style="color: #3b73af; text-decoration: none">http://some-host/baseline_reports/${ARTIFACTID}/${BUILD_VERSION}/..."
echo "==="
BASELINE_REPORTS=/scm/baseline_reports
BASELINE_TAG=${ARTIFACTID}_V${BUILD_VERSION}
file="${ARTIFACTID}-fn-test.json"
cd "${WORKSPACE}"
# Should already exist
# mkdir -p ${BASELINE_REPORTS}/${ARTIFACTID}/${BUILD_VERSION}
;
if [ -e "./target/${file}" ]; then
echo " — Publishing ${file}..."
cp ./target/${file} ${BASELINE_REPORTS}/${ARTIFACTID}/${BUILD_VERSION}/${file}
fi
echo ". . . Done" t...@example.com engin...@example.com true true ${ARTIFACTID}_V${BUILD_VERSION} false