Skip to content

Commit d7c869e

Browse files
Bot Updating Templated Files
1 parent a8af572 commit d7c869e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Jenkinsfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,12 @@ pipeline {
321321
docker run --rm --entrypoint '/bin/sh' -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
322322
apk info > packages && \
323323
apk info -v > versions && \
324-
paste -d " " packages versions > /tmp/package_versions.txt'
324+
paste -d " " packages versions > /tmp/package_versions.txt && \
325+
chmod 777 /tmp/package_versions.txt'
325326
elif [ "${DIST_IMAGE}" == "ubuntu" ]; then
326327
docker run --rm --entrypoint '/bin/sh' -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
327-
apt -qq list --installed | awk "{print \$1,\$2}" > /tmp/package_versions.txt'
328+
apt -qq list --installed | awk "{print \$1,\$2}" > /tmp/package_versions.txt && \
329+
chmod 777 /tmp/package_versions.txt'
328330
fi
329331
if [ "$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )" != "${PACKAGE_TAG}" ]; then
330332
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}

0 commit comments

Comments
 (0)