This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository nuiton-config. See https://gitlab.nuiton.org/nuiton/nuiton-config.git commit 18f59b9b1eeac2b6d2ca9a7a4a958a75006cf961 Author: Jean Couteau <couteau@codelutin.com> Date: Fri Oct 9 14:50:57 2020 +0200 Update .gitlab-ci.yml --- .gitlab-ci.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7753f7..aad14b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,28 +14,24 @@ stages: maven: stage: build script: mvn --batch-mode clean package - except: - - master - - develop - - /^release/.*$/ - - schedules + rules: + - if: '$CI_COMMIT_BRANCH =~ "/^feature\/.*$/" && $CI_PIPELINE_SOURCE != "schedule"' # Sur develop, on vérifie que c'est releasable maven-verify: stage: check-can-release script: mvn --batch-mode clean verify -DperformRelease - only: - - develop - except: - - schedules + rules: + - if: '$CI_COMMIT_BRANCH =~ "/^develop\/.*$/" && $CI_PIPELINE_SOURCE != "schedule"' # Sonar uniquement si planifié sonar: stage: qa script: - mvn clean package org.sonarsource.scanner.maven:sonar-maven-plugin:$MAVEN_SONAR_PLUGIN_VERSION:sonar -Dsonar.host.url="$SONAR_INSTANCE_URL" - only: - - schedules + rules: + - if: '$CI_PIPELINE_SOURCE == "schedule"' + pages: stage: reporting @@ -47,5 +43,5 @@ pages: script: - mvn site -Preporting && mvn site:stage - mv target/staging/nuitonpom/nuiton-config-project public - except: - - schedules \ No newline at end of file + rules: + - if: '$CI_PIPELINE_SOURCE != "schedule"' \ No newline at end of file -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.