-
Notifications
You must be signed in to change notification settings - Fork 2
Perforce
Set up the configuration for a Perforce connection.
credentials
: The ID of the credentials to use.
workspaceNameFormat
: The format to use for the (temporary) workspace. When this is the name of an existing workspace, the existing workspace is used instead.
workspaceTemplate
(optional): The workspace to use as a template for the Jenkins syncing workspace.
viewMapping
(optional): The view mapping to use for the workspace.
host
(optional): The remote server address of Perforce. Only needed when createTicket()
is called.
Get latest on files that are visible through your workspace's view mapping.
deleteGeneratedFiles
(optional): When set to true
, files that are not in the depot are removed, and missing and modified files are re-added. Defaults to false
.
quiet
(optional): When true
, most Perforce messages are suppressed. Errors and summary details are still displayed. Defaults to true
.
forceClean
(optional): This option is not recommended because it is very inefficient. Used if you do not trust the content of your workspace. Removes all of the files in the workspace root, including the build history, and then force syncs the required files. Defaults to false
.
Cleans the workspace.
Unshelve a specific shelve.
shelveID
: The ID of the shelve to unshelve.
Get the changelist description of a certain changelist.
changelistID
: The ID of the changelist to get the description for.
Create a Perforce ticket. Can be used for Swarm
's init
function.
- Source Control
- Building and Testing
- Messaging
- Shipping
- Miscellaneous
- Example Pipelines