Set -xe + jammy
This commit is contained in:
parent
3aaf7e3652
commit
25874c40f7
|
@ -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 ]
|
||||
|
|
|
@ -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!
|
Loading…
Reference in New Issue