different method

This commit is contained in:
Hyatt 2023-10-29 11:14:14 -05:00
parent e7aa43755b
commit e9bbf9d39a
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -42,10 +42,11 @@ podTemplate(
[ [
$class: "CloneOption", $class: "CloneOption",
shallow: true, shallow: true,
depth: 1
], ],
[ [
$class: "CheckoutOption", $class: "CheckoutOption",
timeout: 2, timeout: 2
], ],
], ],
]) ])
@ -57,13 +58,13 @@ podTemplate(
writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getCurrentRootCA()) writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getCurrentRootCA())
sh """ sh """
git config --global --add safe.directory '*' git config --global --add safe.directory '*'
rm -f /usr/local/bin/yarn /usr/local/bin/yarnpkg apt-get update -yqq && apt-get full-upgrade -yqq
npm install --global yarn apt-get install -yqq curl wget git jq git-lfs
cd ${workspace}/signal-desktop cd ${workspace}/signal-desktop
sed 's/\\"build:electron\\"\\:\\s\\"electron-builder/\\"build:electron\\"\\: \\"electron-builder --linux AppImage/' -i package.json cat package.json | jq '.build.linux += {target:["AppImage"]}' > with_appimage_package.json
yarn install --frozen-lockfile mv with_appimage_package.json package.json
yarn generate yarn install
yarn build yarn build-release
""" """
outputFile = sh ( outputFile = sh (