-
New Feature
-
Resolution: Won't Do
-
Minor
-
None
When doing Jenkins plugin development, I have found that I have been able to
do almost everything that I could do in mvn quite nicely:
mvn command | gradle command, with gradle-jpi-plugin |
---|---|
mvn build | gradle build |
mvn test | gradle test |
mvn clean | gradle clean |
mvn hpi:run | gradle server |
mvn release:prepare | ????? |
mvn release:perform | gradle publish |
In gradle-jpi-plugin, there does not seem to be an equivalent to mvn release:prepare
It would be nice to add an equivalent task. That way gradle-jpi-plugin could replace
pretty much all the tasks that are commonly used for Jenkins plugin development with mvn.
I don't know which is the best way to go. The gradle-git plugin is one option.
On that plugin's wiki, he mentions several alternatives:
https://github.com/ajoberstar/gradle-git/wiki/Release-Plugins#other-options
The researchgrate/gradle-release (formerly townsfolk/gradle-release) plugin looks the most similar to mvn release:prepare.