-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pr-validation job and tycho scm parameters #2
Merged
jarthana
merged 18 commits into
eclipse-jdt:master
from
sravanlakkimsetti:pr-validation
Apr 11, 2022
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
f6bf2c1
Create Jenkinsfile
sravanlakkimsetti f671359
Update pom.xml
sravanlakkimsetti 42b05ed
Update Jenkinsfile
sravanlakkimsetti 8a0b3e0
Update Jenkinsfile
sravanlakkimsetti 470ea68
Update Jenkinsfile
sravanlakkimsetti ae734d2
Update Jenkinsfile
sravanlakkimsetti f66382c
Update Jenkinsfile
sravanlakkimsetti 734d0ed
Update Jenkinsfile
sravanlakkimsetti c57a5c5
Update Jenkinsfile
sravanlakkimsetti fc5e379
Update Jenkinsfile
sravanlakkimsetti ad353b0
Update Jenkinsfile
sravanlakkimsetti 9950211
Update Jenkinsfile
sravanlakkimsetti c255417
Update Jenkinsfile
sravanlakkimsetti 6de69e9
Update Jenkinsfile
sravanlakkimsetti 7d5ffe6
Update Jenkinsfile
sravanlakkimsetti 785f4f9
Update Jenkinsfile
sravanlakkimsetti 0c31e5a
Update Jenkinsfile
sravanlakkimsetti 0dad8cf
Update Jenkinsfile
sravanlakkimsetti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,62 @@ | ||
pipeline { | ||
options { | ||
timeout(time: 60, unit: 'MINUTES') | ||
buildDiscarder(logRotator(numToKeepStr:'5')) | ||
timestamps() | ||
} | ||
agent { | ||
label "centos-7" | ||
} | ||
tools { | ||
maven 'apache-maven-latest' | ||
jdk 'openjdk-jdk11-latest' | ||
} | ||
stages { | ||
stage('Build') { | ||
steps { | ||
wrap([$class: 'Xvnc', useXauthority: true]) { | ||
sh """#!/bin/bash -x | ||
|
||
/opt/tools/java/openjdk/jdk-11/latest/bin/java -version | ||
java -version | ||
|
||
df -k | ||
mkdir -p $WORKSPACE/tmp | ||
|
||
unset JAVA_TOOL_OPTIONS | ||
unset _JAVA_OPTIONS | ||
MAVEN_OPTS="-Xmx4G" | ||
mvn -U clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE/.m2/repository \ | ||
-Pbuild-individual-bundles -Ptest-on-javase-17 -Pbree-libs -Papi-check -Dtycho.version=2.7.0 \ | ||
-Djava.io.tmpdir=$WORKSPACE/tmp -Dcompare-version-with-baselines.skip=false -Dproject.build.sourceEncoding=UTF-8 \ | ||
-Dtycho.surefire.argLine="--add-modules ALL-SYSTEM -Dcompliance=1.8,11,17 -Djdt.performance.asserts=disabled" | ||
""" | ||
} | ||
} | ||
post { | ||
always { | ||
sh"""df -k | ||
""" | ||
archiveArtifacts artifacts: '*.log,*/target/work/data/.metadata/*.log,*/tests/target/work/data/.metadata/*.log,apiAnalyzer-workspace/.metadata/*.log', allowEmptyArchive: true | ||
recordIssues aggregatingResults: true, enabledForFailure: true, qualityGates: [[threshold: 1, type: 'DELTA', unstable: false]], tools: [acuCobol()] | ||
publishIssues issues:[scanForIssues(tool: java()), scanForIssues(tool: mavenConsole())] | ||
junit '**/target/surefire-reports/*.xml' | ||
} | ||
} | ||
} | ||
stage('Check freeze period') { | ||
sravanlakkimsetti marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't / shouldn't that be 2G ?