File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -321,10 +321,12 @@ pipeline {
321
321
docker run --rm --entrypoint '/bin/sh' -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
322
322
apk info > packages && \
323
323
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'
325
326
elif [ "${DIST_IMAGE}" == "ubuntu" ]; then
326
327
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'
328
330
fi
329
331
if [ "$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )" != "${PACKAGE_TAG}" ]; then
330
332
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}
You can’t perform that action at this time.
0 commit comments