diff --git a/build-signal.jenkins b/build-signal.jenkins index b8902b4..a6c9d54 100644 --- a/build-signal.jenkins +++ b/build-signal.jenkins @@ -105,12 +105,13 @@ pipeline { git config --global --add safe.directory '*' apt-get update -yqq apt-get install -yqq jq + touch /usr/local/share/.config/yarn/global/.yarnclean cd ${workspace}/signal-desktop - cat package.json | jq '.build.linux += {target:["AppImage"]}' > with_appimage_package.json - mv with_appimage_package.json package.json - cat package.json | jq '.build.linux' - yarn install - yarn --platform=linux build-release + cat package.json | jq '.scripts."build:electron" |= . + " --linux AppImage"' > with_appimage_package.json + mv -f with_appimage_package.json package.json + yarn install --frozen-lockfile + yarn generate + yarn build """ outputFile = sh (