Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-30398] code snippet generator support
- Loading branch information
Showing
3 changed files
with
78 additions
and
9 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
36 changes: 36 additions & 0 deletions
36
src/main/resources/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep/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,36 @@ | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form" xmlns:c="/lib/credentials"> | ||
<f:entry field="installation" title="Ansible tool"> | ||
<f:select/> | ||
</f:entry> | ||
<f:entry field="playbook" title="Playbook file path in workspace"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry field="inventory" title="Inventory file path in workspace"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry field="credentialsId" title="SSH connection credentials"> | ||
<c:select/> | ||
</f:entry> | ||
<f:entry field="sudo" title="Use sudo"> | ||
<f:checkbox/> | ||
</f:entry> | ||
<f:entry field="sudoUser" title="Sudo username"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry field="limit" title="Host subset"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry field="tags" title="Tags"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry field="skippedTags" title="Tags to skip"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry field="startAtTask" title="Task to start at"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry field="extras" title="Extra parameters"> | ||
<f:textbox/> | ||
</f:entry> | ||
</j:jelly> |
3 changes: 3 additions & 0 deletions
3
src/main/resources/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep/help.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> | ||
Execute an Ansible playbook. Only the <code>playbook</code> parameter is mandatory. | ||
</div> |