jenkinsci / plugin-pom

Parent POM for Jenkins Plugins
https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial
MIT License
68 stars 75 forks source link

Ban Jenkins test harness in compile scope #864

Closed basil closed 11 months ago

basil commented 11 months ago

See JENKINS-65650, JENKINS-66060, and JENKINS-72353. Prevent a common mistake by turning it into a compilation error.

Testing done

Verified that build-pipeline-plugin could be compiled in its current (broken) state before this PR and threw an error after this PR, and that the error went away after ensuring the Jenkins test harness was in test scope.