Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added 1.2.3 release

Wiki Markup
{jenkins-plugin-info:github-issues}

GitHub Issues Plugin

Excerpt

This plugin allows you to create a GitHub issue whenever your build fails. Once the build starts passing again, the issue will automatically be closed.

...

When using the great job-dsl plugin, you can configure a publisher step as follows:

Code Block

job(String name) {
  publishers {
    gitHubIssueNotifier {
    }
  }
}

...

You can modify the global config using a system groovy script, i.e. add a init.groovy to the JENKINS_HOME dir.

Code Block

import org.jenkinsci.plugins.githubissues.GitHubIssueNotifier
def descriptor = Jenkins.instance.getDescriptorByType(GitHubIssueNotifier.DescriptorImpl)
descriptor.issueTitle = 'ISSUE TITLE TEMPLATE`
descriptor.issueBody = 'ISSUE BODY TEMPLATE`
descriptor.issueLabel = 'LABELA LABELB`
descriptor.save()

...

To configure the global GitHub config and the credential config, see the init.groovy example in the repo.

Changelog

1.2.3 - 22nd July 2017

1.2.2 - 4th March 2017

...