From 7f25a3a1103e5dfd4cdf8d9820331d4b20fef10e Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Fri, 18 Aug 2023 20:24:53 -0400 Subject: [PATCH] Run only the code cleanliness on Jenkins CI I recently split code cleanliness into two parts, and since in Jenkins the baseline-compare-and-replace and api-baseline-check run on the main build we don't need to run them on the cleanliness pass too. Therefore run the "only" script in the code formatting checks stage to speed up build and avoid duplicated work. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index a70a795c5e2..94c89a8c5d2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { timeout(activity: true, time: 30) { withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=60.0']) { 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.sh' + --settings /home/jenkins/.m2/settings.xml" ./releng/scripts/check_code_cleanliness_only.sh' } } }