From 02c6f3b6ce150cbce26343148e479bf47be355b5 Mon Sep 17 00:00:00 2001 From: erlend Date: Tue, 16 Apr 2024 12:32:34 +0200 Subject: [PATCH] Build feature branches --- .circleci/config.yml | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 76c0f56b..8386dada 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -64,6 +64,18 @@ commands: echo -e << parameters.settings-file >> > ~/.m2/settings.xml jobs: + checkout-and-verify: + executor: java + environment: + MAVEN_OPTS: -Xmx1024m + steps: + - checkout + - generate-maven-settings-file: + settings-file: *maven-settings-file + - maven/with_cache: + steps: + - run: mvn clean verify -U -T 1C + checkout-verify-deploy: executor: java environment: @@ -161,14 +173,10 @@ workflows: not: equal: [ scheduled_pipeline, << pipeline.trigger_source >> ] jobs: - checkout-and-verify: - executor: java - environment: - MAVEN_OPTS: -Xmx1024m - steps: - - checkout - - generate-maven-settings-file: - settings-file: *maven-settings-file - - maven/with_cache: - steps: - - run: mvn clean verify -U -T 1C \ No newline at end of file + - checkout-and-verify: + context: global + filters: + branches: + ignore: + - develop + - main \ No newline at end of file