-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Step 6 and Step 7 of migration of pde.ui (#1)
Change-Id: I1c91e3a973514eb81f2a8396f2ba90e99b9e062e Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
- Loading branch information
Showing
2 changed files
with
48 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
pipeline { | ||
options { | ||
timeout(time: 40, unit: 'MINUTES') | ||
buildDiscarder(logRotator(numToKeepStr:'5')) | ||
} | ||
agent { | ||
label "centos-latest" | ||
} | ||
tools { | ||
maven 'apache-maven-latest' | ||
jdk 'openjdk-jdk11-latest' | ||
} | ||
stages { | ||
stage('Build') { | ||
steps { | ||
wrap([$class: 'Xvnc', useXauthority: true]) { | ||
sh """ | ||
mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE/.m2/repository \ | ||
-Pbuild-individual-bundles -Pbree-libs -Papi-check \ | ||
-Dcompare-version-with-baselines.skip=false \ | ||
-Dproject.build.sourceEncoding=UTF-8 | ||
""" | ||
} | ||
} | ||
post { | ||
always { | ||
archiveArtifacts artifacts: '*.log,*/target/work/data/.metadata/*.log,*/tests/target/work/data/.metadata/*.log,apiAnalyzer-workspace/.metadata/*.log', allowEmptyArchive: true | ||
publishIssues issues:[scanForIssues(tool: java()), scanForIssues(tool: mavenConsole())] | ||
} | ||
} | ||
} | ||
stage('Check freeze period') { | ||
when { | ||
not { | ||
branch 'master' | ||
} | ||
} | ||
steps { | ||
sh "wget https://download.eclipse.org/eclipse/relengScripts/scripts/verifyFreezePeriod.sh" | ||
sh "chmod +x verifyFreezePeriod.sh" | ||
withCredentials([string(credentialsId: 'google-api-key', variable: 'GOOGLE_API_KEY')]) { | ||
sh './verifyFreezePeriod.sh' | ||
} | ||
} | ||
} | ||
} | ||
} |
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