We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In order to approximate the behavior of a deployed server As a plugin developer I want the gradle-jpi-plugin to exclude test dependencies
Today the server task is loading plugins from the testRuntimeClasspath.
plugins { id 'org.jenkins-ci.jpi' version '0.39.0' } jenkinsPlugin { coreVersion = '2.222.3' } dependencies { testImplementation 'org.jenkins-ci.plugins:git:4.0.1' }
After running ./gradlew server
./gradlew server
$ find work/plugins -name *.[hj]pi | sort work/plugins/antisamy-markup-formatter.jpi work/plugins/apache-httpcomponents-client-4-api.hpi work/plugins/bouncycastle-api.jpi work/plugins/command-launcher.jpi work/plugins/credentials.hpi work/plugins/display-url-api.hpi work/plugins/git-client.hpi work/plugins/git.hpi work/plugins/jaxb.jpi work/plugins/jdk-tool.jpi work/plugins/jsch.hpi work/plugins/junit.jpi work/plugins/mailer.hpi work/plugins/matrix-auth.jpi work/plugins/matrix-project.jpi work/plugins/scm-api.hpi work/plugins/script-security.jpi work/plugins/ssh-credentials.hpi work/plugins/structs.hpi work/plugins/trilead-api.jpi work/plugins/ui-samples-plugin.hpi work/plugins/windows-slaves.jpi work/plugins/workflow-api.jpi work/plugins/workflow-scm-step.hpi work/plugins/workflow-step-api.hpi
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In order to approximate the behavior of a deployed server
As a plugin developer
I want the gradle-jpi-plugin to exclude test dependencies
Today the server task is loading plugins from the testRuntimeClasspath.
After running
./gradlew server
The text was updated successfully, but these errors were encountered: