[JIRA] (JENKINS-48812) Developer guide for gradle-jpi-plugin

1 view
Skip to first unread message

mail@daniel-spilker.com (JIRA)

unread,
Mar 25, 2019, 4:26:03 AM3/25/19
to jenkinsc...@googlegroups.com
Daniel Spilker assigned an issue to Steve Hill
 
Jenkins / Improvement JENKINS-48812
Developer guide for gradle-jpi-plugin
Change By: Daniel Spilker
Assignee: Daniel Spilker Steve Hill
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

sghill.dev@gmail.com (JIRA)

unread,
Apr 17, 2019, 11:37:03 AM4/17/19
to jenkinsc...@googlegroups.com
Steve Hill commented on Improvement JENKINS-48812
 
Re: Developer guide for gradle-jpi-plugin

Hi Jeremy Marshall,

We're using the standard maven-publish gradle plugin for this. Running the publishToMavenLocal task will publish the project locally.

To consume your locally-published plugin, it'd just be a matter of adding a buildscript dependency and the mavenLocal() repository.

buildscript {
    repositories { mavenLocal() }
    dependencies {
        classpath 'org.jenkins-ci.tools:gradle-jpi-plugin:<version>'
    }
}

Composite builds are also a great option if you're looking to iterate quickly without publishing.

Does this help? I'm happy to link out to gradle's guides for development, but hesitant to introduce a full developer guide. We're trying to leverage the standard tooling as much as possible so we can rely on gradle's docs - which are much more likely to be kept up-to-date than our own.

I recognize this issue was opened quite a long time ago and may no longer be relevant. I'll mark it as resolved if I don't hear back in a week or so.

sghill.dev@gmail.com (JIRA)

unread,
Apr 17, 2019, 11:38:02 AM4/17/19
to jenkinsc...@googlegroups.com
Steve Hill started work on Improvement JENKINS-48812
 
Change By: Steve Hill
Status: Open In Progress

sghill.dev@gmail.com (JIRA)

unread,
Jun 26, 2019, 12:12:02 PM6/26/19
to jenkinsc...@googlegroups.com
Steve Hill closed an issue as Won't Do
 

Trying to move this plugin in a direction of leveraging standard gradle features and encouraging gradle's official docs over creating a developer guide that is likely to get out of date very quickly for this plugin.

Change By: Steve Hill
Status: In Progress Closed
Resolution: Won't Do
Reply all
Reply to author
Forward
0 new messages