Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Delete client workspace and files on a delete Jenkins Job
Global Perforce options for delete files and/or delete client. JENKINS-32454
- Loading branch information
Showing
3 changed files
with
110 additions
and
95 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
18 changes: 12 additions & 6 deletions
18
src/main/resources/org/jenkinsci/plugins/p4/PerforceScm/global.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 |
---|---|---|
@@ -1,8 +1,14 @@ | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" | ||
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
|
||
|
||
<f:section title="Perforce Global settings"> | ||
|
||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" | ||
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" | ||
xmlns:c="/lib/credentials"> | ||
|
||
<f:section title="Perforce: OnDelete Workspace Options"> | ||
<f:entry field="deleteClient"> | ||
<f:checkbox title="${%Delete Perforce client}" default="true"/> | ||
</f:entry> | ||
<f:entry field="deleteFiles"> | ||
<f:checkbox title="${%Delete Workspace files}" default="true"/> | ||
</f:entry> | ||
</f:section> | ||
|
||
</j:jelly> |