Set -xe + jammy
ci/woodpecker/push/woodpecker Pipeline failed Details
ci/woodpecker/push/docs Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2023-05-05 22:41:23 +02:00
parent 3aaf7e3652
commit 25874c40f7
Signed by: Johannes
GPG Key ID: E76429612C2929F4
2 changed files with 7 additions and 5 deletions

View File

@ -3,7 +3,7 @@
pipeline:
export_metadata:
image: git.frohnmeyer-wds.de/johannes/ci-wine
image: gradle:jdk19-jammy
pull: true
commands:
- mkdir public
@ -18,20 +18,20 @@ pipeline:
- for f in launcher-dist/build/libs/Inceptum-*-*-*.jar; do mv "$f" "public/Inceptum-$${f##*-}"; done
- mv public/Inceptum-fat.jar public/Inceptum.jar
build_wrapper:
image: git.frohnmeyer-wds.de/johannes/ci-wine
image: gradle:jdk19-jammy
commands:
- gradle --build-cache :wrapper:build -Pflavor=windows -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
- cp wrapper/build/libs/*.exe public/wrapper.exe
- cp wrapper/build/libs/*-all.jar public/wrapper.jar
publish_debug:
image: git.frohnmeyer-wds.de/johannes/ci-wine
image: gradle:jdk19-jammy
commands:
- gradle --build-cache build publish -Pflavor=maven -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
secrets: [ maven_token, maven_name ]
when:
- branch: master
publish_release:
image: git.frohnmeyer-wds.de/johannes/ci-wine
image: gradle:jdk19-jammy
commands:
- gradle --build-cache build publish -Pflavor=maven -Ppublic -Prelease
secrets: [ maven_token, maven_name ]

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -xe
gradle --build-cache :launcher-dist:build -Pflavor=fat -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
gradle --build-cache :launcher-dist:build :launcher-dist:jpackage -Pflavor=windows -Ppublic -Pcrosscompile -Ptimestamp=${CI_PIPELINE_STARTED}
gradle --build-cache :launcher-dist:build :launcher-dist:jpackage -Pflavor=linux -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
gradle --build-cache :launcher-dist:build -Pflavor=macos -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
gradle --build-cache :launcher-dist:build -Pflavor=macos -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
echo Is done!