Skip to content
Snippets Groups Projects
Commit 9def1836 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

conflict test is in test stage and fix on grep return status code

parent d90be398
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!414Maven dependency conflicts are resolved
Pipeline #6484 passed
......@@ -174,7 +174,7 @@ build_war:
dependency_conflict_check:
image: maven:latest
stage: build
stage: test
script:
- apt-get update
- apt-get install -y curl gnupg git ant sudo
......@@ -182,7 +182,9 @@ dependency_conflict_check:
- apt-get install -y nodejs
- mvn clean install -DskipTests=true
- mvn dependency:tree -Dverbose | grep conflict > conflicts.txt
- set +e
- mvn dependency:tree -Dverbose | grep conflict | cat > conflicts.txt
- set -e
- conflicts=`cat conflicts.txt| wc -l`
- echo Found conflicts $conflicts ':'
- cat conflicts.txt
......
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