Skip to content

Commit f803234

Browse files
authored
Step 6 and Step 7 of migration of pde.ui (#1)
Change-Id: I1c91e3a973514eb81f2a8396f2ba90e99b9e062e Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
1 parent 3f9f336 commit f803234

2 files changed

Lines changed: 48 additions & 1 deletion

File tree

Jenkinsfile

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
pipeline {
2+
options {
3+
timeout(time: 40, unit: 'MINUTES')
4+
buildDiscarder(logRotator(numToKeepStr:'5'))
5+
}
6+
agent {
7+
label "centos-latest"
8+
}
9+
tools {
10+
maven 'apache-maven-latest'
11+
jdk 'openjdk-jdk11-latest'
12+
}
13+
stages {
14+
stage('Build') {
15+
steps {
16+
wrap([$class: 'Xvnc', useXauthority: true]) {
17+
sh """
18+
mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE/.m2/repository \
19+
-Pbuild-individual-bundles -Pbree-libs -Papi-check \
20+
-Dcompare-version-with-baselines.skip=false \
21+
-Dproject.build.sourceEncoding=UTF-8
22+
"""
23+
}
24+
}
25+
post {
26+
always {
27+
archiveArtifacts artifacts: '*.log,*/target/work/data/.metadata/*.log,*/tests/target/work/data/.metadata/*.log,apiAnalyzer-workspace/.metadata/*.log', allowEmptyArchive: true
28+
publishIssues issues:[scanForIssues(tool: java()), scanForIssues(tool: mavenConsole())]
29+
}
30+
}
31+
}
32+
stage('Check freeze period') {
33+
when {
34+
not {
35+
branch 'master'
36+
}
37+
}
38+
steps {
39+
sh "wget https://download.eclipse.org/eclipse/relengScripts/scripts/verifyFreezePeriod.sh"
40+
sh "chmod +x verifyFreezePeriod.sh"
41+
withCredentials([string(credentialsId: 'google-api-key', variable: 'GOOGLE_API_KEY')]) {
42+
sh './verifyFreezePeriod.sh'
43+
}
44+
}
45+
}
46+
}
47+
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<packaging>pom</packaging>
2727

2828
<properties>
29-
<tycho.scmUrl>scm:git:https://git.eclipse.org/r/pde/eclipse.pde.ui.git</tycho.scmUrl>
29+
<tycho.scmUrl>scm:git:https://github.com/eclipse-pde/eclipse.pde.ui.git</tycho.scmUrl>
3030
</properties>
3131

3232
<!--

0 commit comments

Comments
 (0)