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

Use shortName property for jar #163

Closed
sghill opened this issue May 9, 2020 · 0 comments
Closed

Use shortName property for jar #163

sghill opened this issue May 9, 2020 · 0 comments
Milestone

Comments

@sghill
Copy link

sghill commented May 9, 2020

In order to improve predictability
As a gradle-jpi-plugin user
I want the jenkinsPlugin.shortName to also influence the base name of the jar

Today the shortName controls the output of the jpi, but the jar is always named after the project.

// build.gradle
jenkinsPlugin {
    coreVersion = '2.222.3'
    shortName = 'sun'
}
version = '1.0.0'
// settings.gradle
rootProject.name = 'moon'
$ ./gradlew jpi && ls -la build/libs
    sun.jpi
    moon-1.0.0.jar
@sghill sghill added this to the 0.40.0 milestone May 9, 2020
@sghill sghill closed this as completed in 1cc1bfa May 9, 2020
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

No branches or pull requests

1 participant