Inject another file, this one a 'catchall' of other environment variables
that -setup may need to pass to -build. At the moment, that contains
CEPH_EXTRA_CMAKE_ARGS, but there doesn't seem to be much point in creating
one file per variable.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
which-build: multijob-build
- inject:
properties-file: ${WORKSPACE}/dist/sha1
+ - inject:
+ properties-file: ${WORKSPACE}/dist/other_envvars
# debian build scripts
- shell:
!include-raw:
properties-file: ${WORKSPACE}/dist/sha1
- inject:
properties-file: ${WORKSPACE}/dist/branch
+ - inject:
+ properties-file: ${WORKSPACE}/dist/other_envvars
# debian build scripts
- shell:
!include-raw:
cat > dist/branch << EOF
BRANCH=${BRANCH}
EOF
+
+cat > dist/other_envvars << EOF
+CEPH_EXTRA_CMAKE_ARGS="${CEPH_EXTRA_CMAKE_ARGS}"
+EOF
cat > dist/sha1 << EOF
SHA1=${GIT_COMMIT}
EOF
+
+cat > dist/other_envvars << EOF
+CEPH_EXTRA_CMAKE_ARGS="${CEPH_EXTRA_CMAKE_ARGS}"
+EOF