gradle-plugin icon indicating copy to clipboard operation
gradle-plugin copied to clipboard

[JENKINS-44834] Partial pipeline support

Open alexbrjo opened this issue 7 years ago • 12 comments

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.

alexbrjo avatar Jun 28 '17 15:06 alexbrjo

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).

jglick avatar Jul 06 '17 19:07 jglick

Is there any ticket/issue referencing ability to use Gradle inside tools directive of declarative pipeline?

tools {
  gradle 'Gradle 3.2.1'
}

notxcain avatar Aug 28 '17 14:08 notxcain

@notxcain afaict looks like its already supported

alexbrjo avatar Aug 28 '17 15:08 alexbrjo

@alexbrjo wow, I don't know how I missed that line :) thanks!

notxcain avatar Aug 28 '17 15:08 notxcain

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 avatar Oct 06 '17 23:10 alexbrjo

@alexbrjo #87 has been integrated, I think this is unblocked

oleg-nenashev avatar Dec 06 '17 00:12 oleg-nenashev

Any chance someone can pick this up and get it merged / published?

ghost avatar Feb 07 '18 22:02 ghost

@alexbrjo What is the state of this PR? Should this be ready to integrate?

wolfs avatar Jul 03 '18 20:07 wolfs

@alexbrjo @oleg-nenashev Are you going to pick up this PR?

wolfs avatar Aug 18 '18 15:08 wolfs

What is the holdup on getting this out?

DJViking avatar Jan 14 '19 12:01 DJViking

@DJViking I didn't have the time yet to pick up this PR. And there isn't somebody else finishing the PR.

wolfs avatar Jan 14 '19 13:01 wolfs

@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

DJViking avatar Jun 12 '19 09:06 DJViking

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!

wolfs avatar Oct 18 '22 09:10 wolfs