Skip to content

Commit

Permalink
[Build] Move not always desired build parameters out of maven.config
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Sep 24, 2024
1 parent 532592e commit adf12ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:
projectId: eclipse.pde
build:
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/mavenBuild.yml@master

with:
maven-goals: clean verify -Ptck
3 changes: 0 additions & 3 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
-Pbuild-individual-bundles
-Ptck
-Dcompare-version-with-baselines.skip=false
-DtrimStackTrace=false
--fail-at-end
-Dtycho.localArtifacts=ignore
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ pipeline {
stages {
stage('Build') {
steps {
wrap([$class: 'Xvnc', useXauthority: true]) {
xvnc(useXauthority: true) {
sh """
mvn clean verify --batch-mode -Dmaven.repo.local=$WORKSPACE/.m2/repository \
-Pbree-libs \
-Papi-check \
-Pjavadoc \
mvn clean verify -Dmaven.repo.local=$WORKSPACE/.m2/repository \
--fail-at-end --update-snapshots --batch-mode --no-transfer-progress --show-version --errors \
-Pbree-libs -Papi-check -Pjavadoc -Ptck \
${env.BRANCH_NAME=='master' ? '-Peclipse-sign': ''} \
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true \
-Dcompare-version-with-baselines.skip=false \
-Dmaven.test.failure.ignore=true \
-Dtycho.debug.artifactcomparator \
-Dpde.docs.baselinemode=fail
"""
Expand Down

0 comments on commit adf12ef

Please sign in to comment.