Remove JOB_NAME from reproduce

Zuul v3 doesn't make a job-specific directory for the workspace,
instead we're using the home directory.  Change reproduce.sh to
just use PWD as the workspace.

Change-Id: Ie3573437f79beeb46cf16e69415e08996eb4ffae
This commit is contained in:
James E. Blair 2017-08-28 11:32:06 -07:00
parent 8ba51be832
commit 438f5bd1bc
2 changed files with 0 additions and 4 deletions

View File

@ -183,8 +183,6 @@ EOF
cat >> $WORKSPACE/logs/reproduce.sh <<EOF
mkdir -p workspace/$JOB_NAME
cd workspace/$JOB_NAME
export WORKSPACE=\`pwd\`
if [[ ! -e /usr/zuul-env ]]; then

View File

@ -544,7 +544,6 @@ zuul-var-setting2"
echo "The cake is a lie"
}
export -f gate_hook
JOB_NAME=test-job
mkdir $WORKSPACE/logs
# execute call and assert
@ -566,7 +565,6 @@ zuul-var-setting2"
unset DEVSTACK_VAR_MULTILINE
unset ZUUL_VAR
unset ZUUL_VAR_MULTILINE
unset JOB_NAME
unset gate_hook
}