diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb93e814973b10681772155f06a4884bc6327d34..15b82d672dcd6ecdf456cf4d411ba5748004971a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ --- image: maven:3.9.8-amazoncorretto-21 -build-job1: +.class-job1: stage : build script: @@ -10,4 +10,9 @@ build-job1: # If variable CLUTTER is not empty, return error cod 1, otherwise exist with success code 0. - if [[ ! -z $CLUTTER ]]; then exit 1; else exit 0; fi +mvn_clean_package-job2: + stage: build + + script: + mvn clean package -B ... \ No newline at end of file