-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Build] Unify and clean-up M2E builds
- Loading branch information
1 parent
9705f5d
commit bb9ce69
Showing
4 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,11 @@ pipeline { | |
} | ||
stage('Build') { | ||
steps { | ||
sh 'mvn clean generate-sources -f m2e-maven-runtime/pom.xml -B -Dtycho.mode=maven -Pgenerate-osgi-metadata' | ||
sh 'mvn clean generate-sources -f m2e-maven-runtime/pom.xml -B -V -Dtycho.mode=maven -Pgenerate-osgi-metadata' | ||
wrap([$class: 'Xvnc', useXauthority: true]) { | ||
sh 'mvn clean verify -f pom.xml -B -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Peclipse-sign,its -Dtycho.surefire.timeout=7200' | ||
sh 'mvn clean verify -B -V \ | ||
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true \ | ||
-Peclipse-sign,its' | ||
} | ||
} | ||
post { | ||
|
@@ -48,7 +50,7 @@ pipeline { | |
{ | ||
echo Deploy m2e repo to ${1} | ||
ssh [email protected] "\ | ||
rm -rf ${1}/* && \ | ||
rm -rf ${1}/* && \ | ||
mkdir -p ${1}" | ||
scp -r org.eclipse.m2e.repository/target/repository/* [email protected]:${1} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters