Skip to content

Commit

Permalink
EREQ-85 Force use of authenticated Maven settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jblievremont committed Dec 9, 2024
1 parent 25bb2a2 commit a89374f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .cirrus.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ qa_connectedModeSonarQube_task:
echo "Run Maven ITs for Connected Mode with SonarQube on Eclipse 2024-03 / 4.31 (latest Java 17) and Server ${SQ_VERSION}"
cd its/
mvn -B -e -V org.jacoco:jacoco-maven-plugin:prepare-agent verify \
-s ${CIRRUS_WORKING_DIR}/.m2/settings-public-auth.xml \
-P coverage,\!standaloneMode,\!connectedModeSc \
-Declipse.p2.mirrors=false \
-Dtarget.platform=latest-java-17_e431 \
Expand Down Expand Up @@ -308,6 +309,7 @@ qa_connectedModeSonarCloud_task:
cd its/
env SONARCLOUD_IT_PASSWORD=$SONARCLOUD_IT_PASSWORD \
mvn -B -e -V org.jacoco:jacoco-maven-plugin:prepare-agent verify \
-s ${CIRRUS_WORKING_DIR}/.m2/settings-public-auth.xml \
-P coverage,\!standaloneMode,\!connectedModeSq \
-Declipse.p2.mirrors=false \
-Dtarget.platform=latest-java-21 \
Expand Down Expand Up @@ -386,6 +388,7 @@ qa_standaloneMode_task:
echo "Run Maven ITs for Standalone Mode on Eclipse '${TARGET_PLATFORM}'"
cd its/
mvn -B -e -V org.jacoco:jacoco-maven-plugin:prepare-agent verify \
-s ${CIRRUS_WORKING_DIR}/.m2/settings-public-auth.xml \
-P coverage,\!connectedModeSq,\!connectedModeSc \
-Declipse.p2.mirrors=false \
-Dtarget.platform=${TARGET_PLATFORM} \
Expand Down
1 change: 1 addition & 0 deletions .cirrus.ibuilds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ qa_ibuilds_task:
echo "Run Maven ITs for Standalone Mode on Eclipse iBuilds"
cd its/
mvn -B -e -V verify \
-s ${HOME}/.m2/settings-public-auth.xml \
-P \!connectedModeSq,\!connectedModeSc \
-Declipse.p2.mirrors=false \
-Dtarget.platform=ibuilds \
Expand Down

0 comments on commit a89374f

Please sign in to comment.