Skip to content
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

infra: move wercker no-exception testing to diff.groovy #828

Merged
merged 1 commit into from
Apr 11, 2021

Conversation

nrmancuso
Copy link
Contributor

infra: move wercker no-exception testing to diff.groovy

Right now, this PR is only a test to make sure that combined diff/launch .groovy will work as intended for no-exceptions testing. Once PR for checkstyle/contribution#529 is merged, we can change the repo in checkout-from back to checkstyle's contribution repo and review this PR.

@coveralls
Copy link

coveralls commented Feb 13, 2021

Coverage Status

Coverage remained the same at 98.777% when pulling cfead7c on nmancus1:nmancus1-patch-1 into 53782d0 on sevntu-checkstyle:master.

@romani
Copy link
Member

romani commented Feb 13, 2021

Failed at

Command: ./.ci/wercker.sh no-exception-spotbugs
CS_version: 8.29
SEVNTU_version: 1.38.0

@nrmancuso
Copy link
Contributor Author

nrmancuso commented Feb 13, 2021

CS_version: 8.29

This is why it failed, I forgot to remove a testing repo of mine from projects file that contained a text block with \s, and 8.29 didn't have support for this escape yet.

@nrmancuso nrmancuso force-pushed the nmancus1-patch-1 branch 2 times, most recently from ab32c68 to 7e846de Compare February 13, 2021 21:54
@@ -28,13 +28,13 @@ no-exception-struts)
--non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
echo CS_version: ${CS_POM_VERSION}
echo SEVNTU_version: ${SEVNTU_POM_VERSION}
checkout_from https://github.com/checkstyle/contribution.git
checkout_from "-b issue-529 https://github.com/nmancus1/contribution.git"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice hack

@nrmancuso
Copy link
Contributor Author

nrmancuso commented Feb 14, 2021

Any usages of launch that are being replaced with diff that DO NOT use -i need to specify --allowExcludes now.

@nrmancuso
Copy link
Contributor Author

nrmancuso commented Feb 14, 2021

The only difference in commands after checkstyle/contribution#546 is the -Dcheckstyle.failsOnError=false flag appended to all commands by diff.groovy:

Command: ./.ci/wercker.sh no-exception-struts
maven command from master: Running command: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/apache-struts/**/resources/**/* -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from this PR: Running command: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/apache-struts/**/resources/**/* -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false


Command: ./.ci/wercker.sh no-exception-guava
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false


Command: ./.ci/wercker.sh no-exception-hibernate-orm
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false


Command: ./.ci/wercker.sh no-exception-spotbugs
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/spotbugs-with-excldues/eclipsePlugin-test/**/*,**/spotbugs-with-excldues/spotbugsTestCases/**/*,**/spotbugs-with-excldues/JSR305-testCases/**/* -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0

maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false
maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/spotbugs-with-excldues/eclipsePlugin-test/**/*,**/spotbugs-with-excldues/spotbugsTestCases/**/*,**/spotbugs-with-excldues/JSR305-testCases/**/* -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false


Command: ./.ci/wercker.sh no-exception-spring-framework
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false


Command: ./.ci/wercker.sh no-exception-hbase
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false


Command: ./.ci/wercker.sh no-exception-Pmd-elasticsearch-lombok-ast
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/pmd/pmd-java/src/test/**/*,**/pmd/cpd/files/* -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/lombok-ast/test/**/* -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from this PR:Running command: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/pmd/pmd-java/src/test/**/*,**/pmd/cpd/files/* -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false

maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/lombok-ast/test/**/* -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false

maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false


Command: ./.ci/wercker.sh no-exception-alot-of-projects
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/apache-ant/src/tests/**/*,**/apache-ant/src/etc/testcases/ -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0
maven command from master: mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0

maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false

maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false

maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes=**/apache-ant/src/tests/**/*,**/apache-ant/src/etc/testcases/ -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false

maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false

maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false

maven command from this PR:mvn -e --batch-mode site -Dcheckstyle.config.location=checks-sevntu-error.xml -Dcheckstyle.excludes= -Dcheckstyle.version=8.29 -Dsevntu-checkstyle.version=1.38.0 -Dcheckstyle.failsOnError=false

@nrmancuso nrmancuso force-pushed the nmancus1-patch-1 branch 2 times, most recently from e92c7e0 to cb5d453 Compare April 3, 2021 19:27
@nrmancuso nrmancuso marked this pull request as ready for review April 3, 2021 19:34
@nrmancuso nrmancuso force-pushed the nmancus1-patch-1 branch 8 times, most recently from 0eabd9d to a7c441c Compare April 7, 2021 18:36
Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after merge of contribution PR, this PR need to be updated to use upstream contribution repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants