Make the jenkins plugin notification a little nicer.
Review Request #10384 — Created Jan. 15, 2019 and submitted
The jenkins plugin was initially written to update the status update on
the review request once the build completed (either successfully or
not). This change enhances the notification in several ways:
- We now post a change to the status update when initially applying the
patch. This will change the status from "starting build" (assigned by
the integration) to "build running". - Add a link to the in-progress build.
- Fix the post-build notification to properly use the error state
instead of failure, when the build failed because of some non-code
related issue.
- Ran plugin unit tests.
- Built and loaded the plugin into my Jenkins instance.
- Posted a change to a review request. Saw that the status soon changed
to "build running" with a correct link to the build. Saw that the
build finished successfully.
Description | From | Last Updated |
---|---|---|
Blank line between these. |
chipx86 | |
How about using the format we use for querysets here? final ReviewBoardGlobalConfiguration globalConfig = ( GlobalConfiguration.all() .get(ReviewBoardGlobalConfiguration.class) ); Same below. |
chipx86 | |
Blank line between these. |
chipx86 | |
Blank line between these. |
chipx86 | |
No space after the cast. |
chipx86 | |
Can we make this wrap to 80 chars? |
chipx86 | |
Can we have a blank line between the cases, so it's easier to read? |
chipx86 |
- Commit:
-
696f5b808bedb4ca0ca0b1f19057becaa13d8d6e85c108390fe89c38ec43d453223213eaca262431
- Diff:
-
Revision 2 (+159 -111)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.