Skip to content

Conversation

@KevinPike
Copy link

@KevinPike KevinPike commented Jul 27, 2016

This pull request supports reporting aborted builds to Github as errors. Currently, aborted builds use the default status which is pending. This can be confusing for automated tools.

This change is Reviewable

MerkushevKirill and others added 30 commits July 3, 2015 15:20
[JENKINS-28139] Hook payload parse extension point
admin:repo_hook mention in help
stephenc and others added 22 commits June 23, 2016 00:03
[FIXED JENKINS-36144] Borrow the SCMTrigger's queue
…nk (jenkinsci#128)

Most git repository browsing systems (bitbucket, cgit, github, gitweb)
display a short form of the SHA1 (commonly the first 7 characters) with
a clickable hyperlink that will take them to a page that includes the
full SHA1.

This change reduces the visible SHA1 text in the list of changes to the
first 7 characters of the SHA1, consistent with those other repository
browsers. It also adds assertions that the expected format is used and
simplifies the existing annotator tests.
* Create NOTICE.md

* rm notice information from readme
…itory_source

Manually entered repository source
add some override annotations in ghcommitnotifier
@codecov-io
Copy link

codecov-io commented Jul 27, 2016

Codecov Report

❗ No coverage uploaded for pull request base (master@b82a666). Click here to learn what that means.

@@            Coverage Diff            @@
##             master     #133   +/-   ##
=========================================
  Coverage          ?   74.64%           
=========================================
  Files             ?       62           
  Lines             ?     1341           
  Branches          ?      141           
=========================================
  Hits              ?     1001           
  Misses            ?      296           
  Partials          ?       44
Impacted Files Coverage Δ
...va/com/coravy/hudson/plugins/github/GithubUrl.java 92.3% <ø> (ø)
...ugins/github/internal/GHPluginConfigException.java 0% <ø> (ø)
...nsci/plugins/github/admin/RespondWithRedirect.java 0% <ø> (ø)
...insci/plugins/github/admin/RequireAdminRights.java 0% <ø> (ø)
...sci/plugins/github/util/misc/NullSafeFunction.java 100% <100%> (ø)
...org/jenkinsci/plugins/github/admin/GHRepoName.java 100% <100%> (ø)
...ins/github/status/sources/misc/AnyBuildResult.java 100% <100%> (ø)
...hub/status/sources/AnyDefinedRepositorySource.java 100% <100%> (ø)
...hub/status/sources/DefaultCommitContextSource.java 100% <100%> (ø)
...ins/github/extension/status/GitHubReposSource.java 100% <100%> (ø)
... and 52 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b82a666...3c17e14. Read the comment docs.

@lanwen
Copy link
Member

lanwen commented Aug 4, 2016

does jenkins call publishers on aborted build? Don't think so.

@KostyaSha
Copy link
Member

does jenkins call publishers on aborted build? Don't think so.

No, it doesn't. AFAIK

@KevinPike
Copy link
Author

The behavior that I'm seeing that is when a build starts, a pending github commit status is created. When the build is aborted, another pending github commit status is created. I believe that second status is pending because it is the default status. It does appear that the github plugin is getting called for an aborted build.

@lanwen
Copy link
Member

lanwen commented Aug 10, 2016

please provide a test to reproduce (you can find examples with mocked github in tests for notifier)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.