Fix gitlab build

This commit is contained in:
Alex Morel 2024-08-02 14:06:49 +02:00
parent a36fe19adc
commit 7d87d23345

View file

@ -1,27 +1,10 @@
include:
- project: men/action24/ci-templates
file: sonarqube.yml
variables:
A24_SONAR_PROJECT_KEY: com.amorel.scimkeycloak
SONAR_HOST_URL: https://qa.codelutin.com
stages:
- package
- test
- sonar
package:
image:
name: gradle:jdk11
stage: package
name: gradle:jdk17
script:
- gradle jar shadowjar
- gradle -b legacy-build.gradle shadowjar
artifacts:
paths:
- build/libs/keycloak-scim-1.0-SNAPSHOT.jar
- build/libs/keycloak-scim-1.0-SNAPSHOT-all.jar
- build/libs/keycloak-scim-1.0-SNAPSHOT-all-legacy.jar
only:
- main