-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support actions in publishChecks Step (#85)
* Support actions in publish checks step * Add test * Change revision * Add docs * Rebase master and improve test * Make description optional * Add help docs * Remove unused serializable for ChecksAction * Keep compatibility * Apply docs suggestions from code review. Co-authored-by: Tim Jacomb <[email protected]> * Avoid star import * Fix checkstyle Co-authored-by: Tim Jacomb <[email protected]>
- Loading branch information
1 parent
24dcafe
commit 2933c6b
Showing
12 changed files
with
175 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...resources/io/jenkins/plugins/checks/steps/PublishChecksStep/StepChecksAction/config.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form"> | ||
|
||
<f:entry title="Label" field="label"> | ||
<f:textbox /> | ||
</f:entry> | ||
|
||
<f:entry title="Identifier" field="identifier"> | ||
<f:textbox /> | ||
</f:entry> | ||
|
||
<f:entry title="Description" field="description"> | ||
<f:textbox /> | ||
</f:entry> | ||
|
||
</j:jelly> |
3 changes: 3 additions & 0 deletions
3
.../io/jenkins/plugins/checks/steps/PublishChecksStep/StepChecksAction/help-description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
Detailed description of the action's purpose, functionality, and so on. | ||
</div> |
5 changes: 5 additions & 0 deletions
5
...s/io/jenkins/plugins/checks/steps/PublishChecksStep/StepChecksAction/help-identifier.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div> | ||
The unique identifier for the action. Since for SCM platforms like GitHub, this is the only field that would be | ||
sent back to your Jenkins instance when an action is requested, so you may need to use this field to have more | ||
information besides the basic type of the action. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...ources/io/jenkins/plugins/checks/steps/PublishChecksStep/StepChecksAction/help-label.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
The label to be displayed on the checks report for this action. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters