"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file ".ci/build.sh" between
pmd-src-6.37.0.zip and pmd-src-6.38.0.zip

About: PMD is a source code analyzer for Java, JavaScript, XML and others. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth. Sources (Java).

build.sh  (pmd-src-6.37.0):build.sh  (pmd-src-6.38.0)
skipping to change at line 90 skipping to change at line 90
fi fi
pmd_ci_log_group_start "Creating new baseline for regression tester" pmd_ci_log_group_start "Creating new baseline for regression tester"
regression_tester_setup_ci regression_tester_setup_ci
regression_tester_uploadBaseline regression_tester_uploadBaseline
pmd_ci_log_group_end pmd_ci_log_group_end
if pmd_ci_maven_isSnapshotBuild; then if pmd_ci_maven_isSnapshotBuild; then
if [ "${PMD_CI_MAVEN_PROJECT_VERSION}" != "7.0.0-SNAPSHOT" ]; then if [ "${PMD_CI_MAVEN_PROJECT_VERSION}" != "7.0.0-SNAPSHOT" ]; then
pmd_ci_log_group_start "Executing PMD dogfood test with ${PMD_CI_MAVEN_P ROJECT_VERSION}" pmd_ci_log_group_start "Executing PMD dogfood test with ${PMD_CI_MAVEN_P ROJECT_VERSION}"
./mvnw versions:set -DnewVersion=${PMD_CI_MAVEN_PROJECT_VERSION}-dog ./mvnw versions:set -DnewVersion="${PMD_CI_MAVEN_PROJECT_VERSION}-do
food -DgenerateBackupPoms=false gfood" -DgenerateBackupPoms=false
sed -i 's/<version>[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}.*<\/version
>\( *<!-- pmd.dogfood.version -->\)/<version>'"${PMD_CI_MAVEN_PROJECT_VERSION}"'
<\/version>\1/' pom.xml
./mvnw verify --show-version --errors --batch-mode --no-transfer-pro gress "${PMD_MAVEN_EXTRA_OPTS[@]}" \ ./mvnw verify --show-version --errors --batch-mode --no-transfer-pro gress "${PMD_MAVEN_EXTRA_OPTS[@]}" \
-DskipTests \ -DskipTests \
-Dmaven.javadoc.skip=true \ -Dmaven.javadoc.skip=true \
-Dmaven.source.skip=true \ -Dmaven.source.skip=true \
-Dcheckstyle.skip=true \ -Dcheckstyle.skip=true
-Ppmd-dogfood \ ./mvnw versions:set -DnewVersion="${PMD_CI_MAVEN_PROJECT_VERSION}" -
-Dpmd.dogfood.version=${PMD_CI_MAVEN_PROJECT_VERSION} DgenerateBackupPoms=false
./mvnw versions:set -DnewVersion=${PMD_CI_MAVEN_PROJECT_VERSION} -Dg git checkout -- pom.xml
enerateBackupPoms=false
pmd_ci_log_group_end pmd_ci_log_group_end
else else
# current maven-pmd-plugin is not compatible with PMD 7 yet. # current maven-pmd-plugin is not compatible with PMD 7 yet.
pmd_ci_log_info "Skipping PMD dogfood test with ${PMD_CI_MAVEN_PROJECT_V ERSION}" pmd_ci_log_info "Skipping PMD dogfood test with ${PMD_CI_MAVEN_PROJECT_V ERSION}"
fi fi
pmd_ci_log_group_start "Executing build with sonar" pmd_ci_log_group_start "Executing build with sonar"
# Note: Sonar also needs GITHUB_TOKEN (!) # Note: Sonar also needs GITHUB_TOKEN (!)
./mvnw \ ./mvnw \
-Dmaven.javadoc.skip=true \ -Dmaven.javadoc.skip=true \
 End of changes. 2 change blocks. 
7 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)