Compare commits

..

No commits in common. "6421edfc25047386ddf05fbe79fc97df40bcb3e5" and "631f8ec4b39a38ac6efc13ccd78a531097431d01" have entirely different histories.

11
Jenkinsfile vendored
View File

@ -86,16 +86,7 @@ spec:
container('builder') { container('builder') {
sh ''' sh '''
set -euo pipefail set -euo pipefail
for attempt in 1 2 3 4 5; do apk add --no-cache bash git jq
if apk add --no-cache bash git jq; then
break
fi
if [ "$attempt" -eq 5 ]; then
echo "apk add failed after ${attempt} attempts" >&2
exit 1
fi
sleep $((attempt * 2))
done
mkdir -p /root/.docker mkdir -p /root/.docker
cp /docker-config/config.json /root/.docker/config.json cp /docker-config/config.json /root/.docker/config.json
''' '''