Skip to content

Commit

Permalink
Step 6 and Step 7 of migration of pde.ui (#1)
Browse files Browse the repository at this point in the history
Change-Id: I1c91e3a973514eb81f2a8396f2ba90e99b9e062e
Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
  • Loading branch information
vik-chand committed Apr 2, 2022
1 parent 3f9f336 commit f803234
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
47 changes: 47 additions & 0 deletions Jenkinsfile
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'
}
}
}
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<packaging>pom</packaging>

<properties>
<tycho.scmUrl>scm:git:https://git.eclipse.org/r/pde/eclipse.pde.ui.git</tycho.scmUrl>
<tycho.scmUrl>scm:git:https://github.com/eclipse-pde/eclipse.pde.ui.git</tycho.scmUrl>
</properties>

<!--
Expand Down

0 comments on commit f803234

Please sign in to comment.