Skip to content
Snippets Groups Projects
Commit 09a2cc3d authored by Alexander Diewald's avatar Alexander Diewald
Browse files

CI: Fix the Submodule Foreach Loop if a Branch is not Present


Issue-Ref: 4093
Signed-off-by: default avatarAlexander Diewald <diewald@fortiss.org>
parent 39a0be49
No related branches found
No related tags found
1 merge request!7Add support for Automatic CI Builds when imposing MRs
Pipeline #26920 failed
......@@ -26,7 +26,7 @@ clean:
when: on_success
before_script:
- git submodule update $GIT_SUBMODULE_OPTS
- git submodule foreach 'git pull --no-rebase origin $BUILD_BRANCH' || true
- git submodule foreach 'git pull --no-rebase origin $BUILD_BRANCH || true'
script:
- mvn $MAVEN_CLI_OPTS $MAVEN_BUILD_OPTS clean
......@@ -36,7 +36,7 @@ build:
key: Default
before_script:
- git submodule update $GIT_SUBMODULE_OPTS
- git submodule foreach 'git pull --no-rebase origin $BUILD_BRANCH' || true
- git submodule foreach 'git pull --no-rebase origin $BUILD_BRANCH || true'
script:
- mvn $MAVEN_CLI_OPTS $MAVEN_BUILD_OPTS verify
artifacts:
......@@ -54,7 +54,7 @@ test:
key: Default
before_script:
- git submodule update $GIT_SUBMODULE_OPTS
- git submodule foreach 'git pull --no-rebase origin $BUILD_BRANCH' || true
- git submodule foreach 'git pull --no-rebase origin $BUILD_BRANCH || true'
- xvfb.sh # Setup of a virtual display needed for bringing up eclipse
script:
- mvn $MAVEN_CLI_OPTS $MAVEN_TEST_OPTS $MAVEN_BUILD_DIR integration-test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment