gradle-plugin
gradle-plugin copied to clipboard
[JENKINS-44834] Partial pipeline support
JENKINS-44834 Adds a withGradle
pipeline step to set up the Gradle environment and annotates the build output. Provides Gradle and JDK tool selection from pipeline.
- [x] Waiting on gradle-jpi-plugin#87 to be merged.
- [X] Tests rely on a local Gradle installation. Waiting on a jenkins-test-harness-tools release.
Note: not currently attempting to include the functionality of #34, or some other Gradle
options that could plausibly be ported like useWorkspaceAsHome
(though that should really be using workspace@tmp
like Pipeline pwd tmp: true
does).
Is there any ticket/issue referencing ability to use Gradle inside tools
directive of declarative pipeline?
tools {
gradle 'Gradle 3.2.1'
}
@notxcain afaict looks like its already supported
@alexbrjo wow, I don't know how I missed that line :) thanks!
gradle-jpi-plugin #87 was just merged with the transitive dependency fix. Once it is released I will push a commit to fix the CI build.
edit: linked wrong PR
@alexbrjo #87 has been integrated, I think this is unblocked
Any chance someone can pick this up and get it merged / published?
@alexbrjo What is the state of this PR? Should this be ready to integrate?
@alexbrjo @oleg-nenashev Are you going to pick up this PR?
What is the holdup on getting this out?
@DJViking I didn't have the time yet to pick up this PR. And there isn't somebody else finishing the PR.
@alexbrjo Checks have failed, conflicts must be resolved. Then I hope someone can merge this PR.
I see someone else have picked this up by forking this PR. https://github.com/jenkinsci/gradle-plugin/pull/60
I'll be closing the PR, given that there hasn't been any recent activity. Is the PR still interesting? If yes, please open a new one based on current main
. Thank you!