Skip to content

Commit

Permalink
Skip tests and code cleanliness cheks to speed up turnaround time whi…
Browse files Browse the repository at this point in the history
…le I work on this
  • Loading branch information
jonahgraham committed Nov 20, 2023
1 parent a68166c commit 8e3fbe6
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,7 @@ pipeline {
}
}
}
stage('Code Formatting Checks') {
steps {
container('cdt') {
timeout(activity: true, time: 30) {
withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=50.0 -XX:+PrintFlagsFinal']) {
sh 'MVN="/jipp/tools/apache-maven/latest/bin/mvn -Dmaven.repo.local=/home/jenkins/.m2/repository \
--settings /home/jenkins/.m2/settings.xml" ./releng/scripts/check_code_cleanliness_only.sh'
}
}
}
}
}
stage('Build and verify') {
stage('Build and no verify') {
steps {
container('cdt') {
timeout(activity: true, time: 20) {
Expand All @@ -41,8 +29,8 @@ pipeline {
-Dgpg.passphrase="${KEYRING_PASSPHRASE}" \
-Dmaven.test.failure.ignore=true \
-DexcludedGroups=flakyTest,slowTest \
-P baseline-compare-and-replace \
-P api-baseline-check \
-DskipTests=true \
-DskipDoc=true \
-Ddsf.gdb.tests.timeout.multiplier=50 \
-Dindexer.timeout=300 \
-P production \
Expand All @@ -63,7 +51,6 @@ pipeline {
always {
container('cdt') {
archiveArtifacts '*.log,native/org.eclipse.cdt.native.serial/**,core/org.eclipse.cdt.core.*/**,*/*/target/surefire-reports/**,terminal/plugins/org.eclipse.tm.terminal.test/target/surefire-reports/**,**/target/work/data/.metadata/.log,releng/org.eclipse.cdt.repo/target/org.eclipse.cdt.repo.zip,releng/org.eclipse.cdt.repo/target/repository/**,releng/org.eclipse.cdt.testing.repo/target/org.eclipse.cdt.testing.repo.zip,releng/org.eclipse.cdt.testing.repo/target/repository/**,debug/org.eclipse.cdt.debug.application.product/target/product/*.tar.gz,debug/org.eclipse.cdt.debug.application.product/target/products/*.zip,debug/org.eclipse.cdt.debug.application.product/target/products/*.tar.gz,debug/org.eclipse.cdt.debug.application.product/target/repository/**'
junit '*/*/target/surefire-reports/*.xml,terminal/plugins/org.eclipse.tm.terminal.test/target/surefire-reports/*.xml'
}
}
}
Expand Down

0 comments on commit 8e3fbe6

Please sign in to comment.