add new build step which marks the relevant commit as “pending” using the github status api.
fixed webhook login to work with github enterprise, enabling calls to status api to succeed for both pending and final build statuses
[JENKINS-23641] - Handle possible nulls if Git checkout fails

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
[JENKINS-23641] - Direct tests for the issue

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
[FIXED JENKINS-25312] - Build status on update failure is configurable

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Merge pull request #46 from oleg-nenashev/JENKINS-23641

[JENKINS-23641,JENKINS-25312] - Handle possible nulls if Git checkout fails
Merge pull request #42 from afex/pending-status

Build step to set Github commit status as "pending"
Handle null results in GitHubPendingCommitStatus

Updates https://github.com/jenkinsci/github-plugin/pull/42
The change also contains unit tests

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Rename GitHubPendingCommitStatus to GitHubSetCommitStatusBuilder

Just for the future use.

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Add LICENSE info

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
[JENKINS-25312] - Prevent NPE if build has not been finished yet

May appear if somebody calls the publisher using AnyBuildStep

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Disable the failing test

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Merge pull request #48 from oleg-nenashev/release_1p10_preparations

Towards 1.10 release
Fix URLs in build log.

URLs have been corrupted by https://github.com/jenkinsci/github-plugin/pull/48

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>