Skip to content

Commit 7e1defa

Browse files
committed
[Build] Move not always desired build parameters out of maven.config
1 parent b7e1746 commit 7e1defa

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ jobs:
2222
projectId: eclipse.pde
2323
build:
2424
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/mavenBuild.yml@master
25-
25+
with:
26+
maven-goals: clean verify -Ptck

.mvn/maven.config

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
-Pbuild-individual-bundles
2-
-Ptck
3-
-Dcompare-version-with-baselines.skip=false
42
-DtrimStackTrace=false
5-
--fail-at-end
63
-Dtycho.localArtifacts=ignore

Jenkinsfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ pipeline {
1515
stages {
1616
stage('Build') {
1717
steps {
18-
wrap([$class: 'Xvnc', useXauthority: true]) {
18+
xvnc(useXauthority: true) {
1919
sh """
20-
mvn clean verify --batch-mode -Dmaven.repo.local=$WORKSPACE/.m2/repository \
21-
-Pbree-libs \
22-
-Papi-check \
23-
-Pjavadoc \
20+
mvn clean verify -Dmaven.repo.local=$WORKSPACE/.m2/repository \
21+
--fail-at-end --update-snapshots --batch-mode --no-transfer-progress --show-version --errors \
22+
-Pbree-libs -Papi-check -Pjavadoc -Ptck \
2423
${env.BRANCH_NAME=='master' ? '-Peclipse-sign': ''} \
25-
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true \
24+
-Dcompare-version-with-baselines.skip=false \
25+
-Dmaven.test.failure.ignore=true \
2626
-Dtycho.debug.artifactcomparator \
2727
-Dpde.docs.baselinemode=fail
2828
"""

0 commit comments

Comments
 (0)