mirror of
https://github.com/linuxserver/wheelie.git
synced 2026-02-23 00:04:22 +08:00
escape backslash in jenkinsfile
This commit is contained in:
parent
362ea857c8
commit
d9ff67c3a6
@ -146,7 +146,7 @@ pipeline {
|
||||
if [ -f "${so}" ]; then
|
||||
echo "Uploading $(basename ${so})"
|
||||
docker exec s3cmd s3cmd put --acl-public "/build-${os}/$(basename ${so})" "s3://wheels.linuxserver.io/${os}/$(basename ${so})"
|
||||
export GENERICTARNAME=$(basename ${so} | sed 's|-[0-9\.]*||')
|
||||
export GENERICTARNAME=$(basename ${so} | sed 's|-[0-9\\.]*||')
|
||||
if grep -q "${GENERICTARNAME}" "${TEMPDIR}/wheelie/docs/ubuntu/index.html"; then
|
||||
sed -i "s|'.*'>${GENERICTARNAME}</a>|'https://wheels.linuxserver.io/ubuntu/$(basename ${so})'>${GENERICTARNAME}</a>|" "${TEMPDIR}/wheelie/docs/ubuntu/index.html"
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user