The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
p4: P4 Groovycredential : String
workspace
manualSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of the P4 workspace to be used as the Jenkins build workspace. If the workspace does not yet exist, the configuration will be saved in Jenkins; the workspace is created only when it is to be used. If the workspace exists and you are connected to a P4 Server the auto-text fill should list suitable workspaces; updates are only applied when the workspace is used.
spec
allwrite : boolean
clobber : boolean
compress : boolean
locked : boolean
modtime : boolean
rmdir : boolean
streamName : String
line : String
Set line-ending character(s) for client text files.
linefeed: UNIX style.
carriage return: Macintosh style. (obsolete)
carriage return-linefeed: Windows style.
hybrid: writes UNIX style but reads UNIX, Mac or Windows style.
view : String
Lines to map depot files into the client workspace.
The variable ${P4_CLIENT} will expand to the client name, for example, a simple mapping:
//depot/... //${P4_CLIENT}/...
Maps files in the depot to files in your client workspace. Defines the files that you want in your client workspace and specifies where you want them to reside. The default view maps all depot files onto the client. See 'p4 help views' for view syntax. A new view takes effect on the next 'p4 sync'.
To support migration from the old P4 plugin, a View Mapping can be inserted from a file in P4. Add the depot path to the "View Mappings" field Prefix "@" (this only applies to the "Manual" Workspace behaviour).
changeView : String
type : String
Type of client: writeable/readonly/partitioned/graph
By default all clients are 'writeable', certain clients are short lived and perform long sync and build cycles. Over time these build clients can fragment the 'db.have' table which is used to track what files a client has synced. Setting a type of 'readonly' gives the client its own personal 'db.have' database table. A 'readonly' client cannot 'edit' or 'submit' files, however for build automation this is not usually a requirement and the performance tradeoff is worth considering if your build automation is causing issues with the 'db.have' table. This option requires that an administrator has first configured the 'client.readonly.dir' setting. If it is necessary to submit changes as part of your build, you may specify a 'partitioned' client: like a 'reaonly' client, this type also has a separate 'db.have' table under the 'client.readonly.dir' directory, but allows journalled 'edit' and 'submit' of files.
serverID : String
backup : boolean
Client's participation in backup enable/disable. If not specified backup of a writable client defaults to enabled.
customPolling : boolean (optional)
Custom Polling Path refers to specifying additional paths outside the client view mapping for polling. Once configured and saved, build the project to apply changes. These paths are registered with the project, and any detected changes during polling will automatically trigger a build on the client workspace. At least one polling path should be present in this textarea. Only comma-separated values are allowed, with a maximum of 10 entries.
limitView : String (optional)
Restricts the paths mapped by the View. This is helpful for streams clients where the View cannot be modified in the client spec.
The mappings may be specified in either client or depot syntax, but not a combination of both. Exclusion mappings (prefixed with -) can be used to omit specific paths or file types.
Example:
View:
//depot1/... //ws/depot1/...
//depot2/... //ws/depot2/...
LimitView:
//ws/depot1/path/...
-//ws/....exe
Will limit the client's view to just files under //depot1/path excluding files with the .exe extension.
Note: LimitView requires P4 Server 2021.1 or later.
pollPath : String (optional)
streamAtChange : String (optional)
When specified, the client view is generated from the stream specification version at or before the change number.
cleanup : boolean
syncID : String (optional)
specFileSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of the P4 workspace to be used as the Jenkins build workspace. If the workspace does not yet exist, the configuration will be saved in Jenkins; the workspace is created only when it is to be used. If the workspace exists and you are connected to a P4 Server the auto-text fill should list suitable workspaces; updates are only applied when the workspace is used.
specPath : String
syncID : String (optional)
staticSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of an existing workspace in P4 to be used as the Jenkins build workspace. If connected to a P4 Server the auto-text fill should list suitable workspaces
syncID : String (optional)
streamSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
streamName : String
Specify the full P4 depot path for the given stream. If connected to a P4 Server the auto-text fill should list possible streams.
For example: //stream-depot/main-streamformat : String
Jenkins agent nodes must each use a unique P4 workspace. The format string configures the workspace name by substituting the specified variables: (at least one variable must be used)
Variables can be taken from the Jenkins Environment or Parameterized builds
streamAtChange : String (optional)
When specified, the client view is generated from the stream specification version at or before the change number.
syncID : String (optional)
templateSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
templateName : String
Specify the name of an existing workspace in P4 used to create or update a Jenkins build workspace. If connected to a P4 Server the auto-text fill should list suitable workspaces
format : String
Jenkins agent nodes must each use a unique P4 workspace. The format string configures the workspace name by substituting the specified variables: (at least one variable must be used)
Variables can be taken from the Jenkins Environment or Parameterized builds
syncID : String (optional)
p4approve: P4 ApproveImpl Reviewcredential : String
review : String
status : String
description : String (optional)
p4publish: P4 Publishcredential : String
workspace
manualSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of the P4 workspace to be used as the Jenkins build workspace. If the workspace does not yet exist, the configuration will be saved in Jenkins; the workspace is created only when it is to be used. If the workspace exists and you are connected to a P4 Server the auto-text fill should list suitable workspaces; updates are only applied when the workspace is used.
spec
allwrite : boolean
clobber : boolean
compress : boolean
locked : boolean
modtime : boolean
rmdir : boolean
streamName : String
line : String
Set line-ending character(s) for client text files.
linefeed: UNIX style.
carriage return: Macintosh style. (obsolete)
carriage return-linefeed: Windows style.
hybrid: writes UNIX style but reads UNIX, Mac or Windows style.
view : String
Lines to map depot files into the client workspace.
The variable ${P4_CLIENT} will expand to the client name, for example, a simple mapping:
//depot/... //${P4_CLIENT}/...
Maps files in the depot to files in your client workspace. Defines the files that you want in your client workspace and specifies where you want them to reside. The default view maps all depot files onto the client. See 'p4 help views' for view syntax. A new view takes effect on the next 'p4 sync'.
To support migration from the old P4 plugin, a View Mapping can be inserted from a file in P4. Add the depot path to the "View Mappings" field Prefix "@" (this only applies to the "Manual" Workspace behaviour).
changeView : String
type : String
Type of client: writeable/readonly/partitioned/graph
By default all clients are 'writeable', certain clients are short lived and perform long sync and build cycles. Over time these build clients can fragment the 'db.have' table which is used to track what files a client has synced. Setting a type of 'readonly' gives the client its own personal 'db.have' database table. A 'readonly' client cannot 'edit' or 'submit' files, however for build automation this is not usually a requirement and the performance tradeoff is worth considering if your build automation is causing issues with the 'db.have' table. This option requires that an administrator has first configured the 'client.readonly.dir' setting. If it is necessary to submit changes as part of your build, you may specify a 'partitioned' client: like a 'reaonly' client, this type also has a separate 'db.have' table under the 'client.readonly.dir' directory, but allows journalled 'edit' and 'submit' of files.
serverID : String
backup : boolean
Client's participation in backup enable/disable. If not specified backup of a writable client defaults to enabled.
customPolling : boolean (optional)
Custom Polling Path refers to specifying additional paths outside the client view mapping for polling. Once configured and saved, build the project to apply changes. These paths are registered with the project, and any detected changes during polling will automatically trigger a build on the client workspace. At least one polling path should be present in this textarea. Only comma-separated values are allowed, with a maximum of 10 entries.
limitView : String (optional)
Restricts the paths mapped by the View. This is helpful for streams clients where the View cannot be modified in the client spec.
The mappings may be specified in either client or depot syntax, but not a combination of both. Exclusion mappings (prefixed with -) can be used to omit specific paths or file types.
Example:
View:
//depot1/... //ws/depot1/...
//depot2/... //ws/depot2/...
LimitView:
//ws/depot1/path/...
-//ws/....exe
Will limit the client's view to just files under //depot1/path excluding files with the .exe extension.
Note: LimitView requires P4 Server 2021.1 or later.
pollPath : String (optional)
streamAtChange : String (optional)
When specified, the client view is generated from the stream specification version at or before the change number.
cleanup : boolean
syncID : String (optional)
specFileSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of the P4 workspace to be used as the Jenkins build workspace. If the workspace does not yet exist, the configuration will be saved in Jenkins; the workspace is created only when it is to be used. If the workspace exists and you are connected to a P4 Server the auto-text fill should list suitable workspaces; updates are only applied when the workspace is used.
specPath : String
syncID : String (optional)
staticSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of an existing workspace in P4 to be used as the Jenkins build workspace. If connected to a P4 Server the auto-text fill should list suitable workspaces
syncID : String (optional)
streamSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
streamName : String
Specify the full P4 depot path for the given stream. If connected to a P4 Server the auto-text fill should list possible streams.
For example: //stream-depot/main-streamformat : String
Jenkins agent nodes must each use a unique P4 workspace. The format string configures the workspace name by substituting the specified variables: (at least one variable must be used)
Variables can be taken from the Jenkins Environment or Parameterized builds
streamAtChange : String (optional)
When specified, the client view is generated from the stream specification version at or before the change number.
syncID : String (optional)
templateSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
templateName : String
Specify the name of an existing workspace in P4 used to create or update a Jenkins build workspace. If connected to a P4 Server the auto-text fill should list suitable workspaces
format : String
Jenkins agent nodes must each use a unique P4 workspace. The format string configures the workspace name by substituting the specified variables: (at least one variable must be used)
Variables can be taken from the Jenkins Environment or Parameterized builds
syncID : String (optional)
publish
shelvedescription : String
The change description used to shelve or submit the assets to P4. ${VAR} variables are expanded base on the system environment.
onlyOnSuccess : boolean
delete : boolean
modtime : boolean
revert : boolean
Reverts open files in the pending changelist, but leaves the content in the workspace unchanged ('p4 revert -k')
paths : String (optional)
submitdescription : String
The change description used to shelve or submit the assets to P4. ${VAR} variables are expanded base on the system environment.
onlyOnSuccess : boolean
delete : boolean
modtime : boolean
reopen : boolean
Submitted files are reopened, allowing subsequent modification.
purge : String
The P4 Server only stores n number of revisions, where n is a number 1-10 or 16,32,64,128,256,512. Older revisions are then purged as new revisions are added.
paths : String (optional)
p4sync: P4 Synccredential : String
changelog : boolean (optional)
If 'Include in changelog' is enabled for an SCM source, then when a build occurs, the changes from that SCM source will be included in the changelog.
If 'Include in changelog' is disabled, then when a build occurs, the changes from this SCM source will not be included in the changelog.
charset : String (optional)
depotPath : String (optional)
format : String (optional)
poll : boolean (optional)
If 'Include in polling' is enabled or 'Include in changelog' is enabled, then when polling occurs, the job will be started if changes are detected from this SCM source.
If 'Include in polling' is disabled and 'Include in changelog' is disabled, then when polling occurs, changes that are detected from this repository will be ignored.
populate (optional)
autoCleanreplace : boolean
P4 will check out and overwrite any depot files which are either missing from workspace, or have been modified locally.
delete : boolean
P4 will delete any local files that are not in the depot.
tidy : boolean
modtime : boolean
P4 will run reconcile with -m option which preserves the modification time of files during the sync operation.
quiet : boolean
Enables the -q flag for all applicable P4 operations. Summary details will still be displayed.
pin : String
When a build is triggered by Polling, Build Now or an external Action, the workspace will sync only to the specified label. Any other specified change or label will be ignored.
Supports variable expansion e.g. ${VAR}. If 'now' is used, or a variable that expands to 'now', then the latest change is used (within the scope of the workspace view).
parallel
enable : boolean
path : String
threads : String
minfiles : String
minbytes : String
previewOnlyquiet : boolean
Enables the -q flag for all applicable P4 operations. Summary details will still be displayed.
pin : String
flushOnlyquiet : boolean
pin : String
When a build is triggered by Polling, Build Now or an external Action, the workspace will flush only to the specified label or changelist number. Any other specified change or label will be ignored.
Supports variable expansion e.g. ${VAR}. If 'now' is used, or a variable that expands to 'now', then the latest change is used (within the scope of the workspace view).
forceCleanhave : boolean
quiet : boolean
Enables the -q flag for all applicable P4 operations. Summary details will still be displayed.
pin : String
When a build is triggered by Polling, Build Now or an external Action, the workspace will sync only to the specified label. Any other specified change or label will be ignored.
Supports variable expansion e.g. ${VAR}. If 'now' is used, or a variable that expands to 'now', then the latest change is used (within the scope of the workspace view).
parallel
enable : boolean
path : String
threads : String
minfiles : String
minbytes : String
graphCleanquiet : boolean
Enables the -q flag for all applicable P4 operations. Summary details will still be displayed.
pin : String
When a build is triggered by Polling, Build Now or an external Action, the workspace will sync only to the specified label. Any other specified change or label will be ignored.
Supports variable expansion e.g. ${VAR}. If 'now' is used, or a variable that expands to 'now', then the latest change is used (within the scope of the workspace view).
parallel
enable : boolean
path : String
threads : String
minfiles : String
minbytes : String
syncOnlyrevert : boolean
have : boolean
force : boolean
quiet : boolean
Enables the -q flag for all applicable P4 operations. Summary details will still be displayed.
pin : String
When a build is triggered by Polling, Build Now or an external Action, the workspace will sync only to the specified label. Any other specified change or label will be ignored.
Supports variable expansion e.g. ${VAR}. If 'now' is used, or a variable that expands to 'now', then the latest change is used (within the scope of the workspace view).
parallel
enable : boolean
path : String
threads : String
minfiles : String
minbytes : String
source (optional)
depotSourcedepot : String
List of one or more depot paths (separated by new lines)
For example //depot/A/...
//depot/B/...
//depot/C/file.txt
graphSourcegraph : String
streamSourcestream : String
streamAtChange : String (optional)
When specified, the client view is generated from the stream specification version at or before the change number.
templateSourcetemplate : String
stream : String (optional)
streamAtChange : String (optional)
template : String (optional)
workspace (optional)
manualSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of the P4 workspace to be used as the Jenkins build workspace. If the workspace does not yet exist, the configuration will be saved in Jenkins; the workspace is created only when it is to be used. If the workspace exists and you are connected to a P4 Server the auto-text fill should list suitable workspaces; updates are only applied when the workspace is used.
spec
allwrite : boolean
clobber : boolean
compress : boolean
locked : boolean
modtime : boolean
rmdir : boolean
streamName : String
line : String
Set line-ending character(s) for client text files.
linefeed: UNIX style.
carriage return: Macintosh style. (obsolete)
carriage return-linefeed: Windows style.
hybrid: writes UNIX style but reads UNIX, Mac or Windows style.
view : String
Lines to map depot files into the client workspace.
The variable ${P4_CLIENT} will expand to the client name, for example, a simple mapping:
//depot/... //${P4_CLIENT}/...
Maps files in the depot to files in your client workspace. Defines the files that you want in your client workspace and specifies where you want them to reside. The default view maps all depot files onto the client. See 'p4 help views' for view syntax. A new view takes effect on the next 'p4 sync'.
To support migration from the old P4 plugin, a View Mapping can be inserted from a file in P4. Add the depot path to the "View Mappings" field Prefix "@" (this only applies to the "Manual" Workspace behaviour).
changeView : String
type : String
Type of client: writeable/readonly/partitioned/graph
By default all clients are 'writeable', certain clients are short lived and perform long sync and build cycles. Over time these build clients can fragment the 'db.have' table which is used to track what files a client has synced. Setting a type of 'readonly' gives the client its own personal 'db.have' database table. A 'readonly' client cannot 'edit' or 'submit' files, however for build automation this is not usually a requirement and the performance tradeoff is worth considering if your build automation is causing issues with the 'db.have' table. This option requires that an administrator has first configured the 'client.readonly.dir' setting. If it is necessary to submit changes as part of your build, you may specify a 'partitioned' client: like a 'reaonly' client, this type also has a separate 'db.have' table under the 'client.readonly.dir' directory, but allows journalled 'edit' and 'submit' of files.
serverID : String
backup : boolean
Client's participation in backup enable/disable. If not specified backup of a writable client defaults to enabled.
customPolling : boolean (optional)
Custom Polling Path refers to specifying additional paths outside the client view mapping for polling. Once configured and saved, build the project to apply changes. These paths are registered with the project, and any detected changes during polling will automatically trigger a build on the client workspace. At least one polling path should be present in this textarea. Only comma-separated values are allowed, with a maximum of 10 entries.
limitView : String (optional)
Restricts the paths mapped by the View. This is helpful for streams clients where the View cannot be modified in the client spec.
The mappings may be specified in either client or depot syntax, but not a combination of both. Exclusion mappings (prefixed with -) can be used to omit specific paths or file types.
Example:
View:
//depot1/... //ws/depot1/...
//depot2/... //ws/depot2/...
LimitView:
//ws/depot1/path/...
-//ws/....exe
Will limit the client's view to just files under //depot1/path excluding files with the .exe extension.
Note: LimitView requires P4 Server 2021.1 or later.
pollPath : String (optional)
streamAtChange : String (optional)
When specified, the client view is generated from the stream specification version at or before the change number.
cleanup : boolean
syncID : String (optional)
specFileSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of the P4 workspace to be used as the Jenkins build workspace. If the workspace does not yet exist, the configuration will be saved in Jenkins; the workspace is created only when it is to be used. If the workspace exists and you are connected to a P4 Server the auto-text fill should list suitable workspaces; updates are only applied when the workspace is used.
specPath : String
syncID : String (optional)
staticSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of an existing workspace in P4 to be used as the Jenkins build workspace. If connected to a P4 Server the auto-text fill should list suitable workspaces
syncID : String (optional)
streamSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
streamName : String
Specify the full P4 depot path for the given stream. If connected to a P4 Server the auto-text fill should list possible streams.
For example: //stream-depot/main-streamformat : String
Jenkins agent nodes must each use a unique P4 workspace. The format string configures the workspace name by substituting the specified variables: (at least one variable must be used)
Variables can be taken from the Jenkins Environment or Parameterized builds
streamAtChange : String (optional)
When specified, the client view is generated from the stream specification version at or before the change number.
syncID : String (optional)
templateSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
templateName : String
Specify the name of an existing workspace in P4 used to create or update a Jenkins build workspace. If connected to a P4 Server the auto-text fill should list suitable workspaces
format : String
Jenkins agent nodes must each use a unique P4 workspace. The format string configures the workspace name by substituting the specified variables: (at least one variable must be used)
Variables can be taken from the Jenkins Environment or Parameterized builds
syncID : String (optional)
p4unshelve: P4 Unshelvecredential : String
workspace
manualSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of the P4 workspace to be used as the Jenkins build workspace. If the workspace does not yet exist, the configuration will be saved in Jenkins; the workspace is created only when it is to be used. If the workspace exists and you are connected to a P4 Server the auto-text fill should list suitable workspaces; updates are only applied when the workspace is used.
spec
allwrite : boolean
clobber : boolean
compress : boolean
locked : boolean
modtime : boolean
rmdir : boolean
streamName : String
line : String
Set line-ending character(s) for client text files.
linefeed: UNIX style.
carriage return: Macintosh style. (obsolete)
carriage return-linefeed: Windows style.
hybrid: writes UNIX style but reads UNIX, Mac or Windows style.
view : String
Lines to map depot files into the client workspace.
The variable ${P4_CLIENT} will expand to the client name, for example, a simple mapping:
//depot/... //${P4_CLIENT}/...
Maps files in the depot to files in your client workspace. Defines the files that you want in your client workspace and specifies where you want them to reside. The default view maps all depot files onto the client. See 'p4 help views' for view syntax. A new view takes effect on the next 'p4 sync'.
To support migration from the old P4 plugin, a View Mapping can be inserted from a file in P4. Add the depot path to the "View Mappings" field Prefix "@" (this only applies to the "Manual" Workspace behaviour).
changeView : String
type : String
Type of client: writeable/readonly/partitioned/graph
By default all clients are 'writeable', certain clients are short lived and perform long sync and build cycles. Over time these build clients can fragment the 'db.have' table which is used to track what files a client has synced. Setting a type of 'readonly' gives the client its own personal 'db.have' database table. A 'readonly' client cannot 'edit' or 'submit' files, however for build automation this is not usually a requirement and the performance tradeoff is worth considering if your build automation is causing issues with the 'db.have' table. This option requires that an administrator has first configured the 'client.readonly.dir' setting. If it is necessary to submit changes as part of your build, you may specify a 'partitioned' client: like a 'reaonly' client, this type also has a separate 'db.have' table under the 'client.readonly.dir' directory, but allows journalled 'edit' and 'submit' of files.
serverID : String
backup : boolean
Client's participation in backup enable/disable. If not specified backup of a writable client defaults to enabled.
customPolling : boolean (optional)
Custom Polling Path refers to specifying additional paths outside the client view mapping for polling. Once configured and saved, build the project to apply changes. These paths are registered with the project, and any detected changes during polling will automatically trigger a build on the client workspace. At least one polling path should be present in this textarea. Only comma-separated values are allowed, with a maximum of 10 entries.
limitView : String (optional)
Restricts the paths mapped by the View. This is helpful for streams clients where the View cannot be modified in the client spec.
The mappings may be specified in either client or depot syntax, but not a combination of both. Exclusion mappings (prefixed with -) can be used to omit specific paths or file types.
Example:
View:
//depot1/... //ws/depot1/...
//depot2/... //ws/depot2/...
LimitView:
//ws/depot1/path/...
-//ws/....exe
Will limit the client's view to just files under //depot1/path excluding files with the .exe extension.
Note: LimitView requires P4 Server 2021.1 or later.
pollPath : String (optional)
streamAtChange : String (optional)
When specified, the client view is generated from the stream specification version at or before the change number.
cleanup : boolean
syncID : String (optional)
specFileSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of the P4 workspace to be used as the Jenkins build workspace. If the workspace does not yet exist, the configuration will be saved in Jenkins; the workspace is created only when it is to be used. If the workspace exists and you are connected to a P4 Server the auto-text fill should list suitable workspaces; updates are only applied when the workspace is used.
specPath : String
syncID : String (optional)
staticSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
name : String
Specify the name of an existing workspace in P4 to be used as the Jenkins build workspace. If connected to a P4 Server the auto-text fill should list suitable workspaces
syncID : String (optional)
streamSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
streamName : String
Specify the full P4 depot path for the given stream. If connected to a P4 Server the auto-text fill should list possible streams.
For example: //stream-depot/main-streamformat : String
Jenkins agent nodes must each use a unique P4 workspace. The format string configures the workspace name by substituting the specified variables: (at least one variable must be used)
Variables can be taken from the Jenkins Environment or Parameterized builds
streamAtChange : String (optional)
When specified, the client view is generated from the stream specification version at or before the change number.
syncID : String (optional)
templateSpeccharset : String
The character set used by Jenkins when syncing files from the P4 Server. This should be set to 'none' unless connected to a Unicode enabled P4 Server.
pinHost : boolean
templateName : String
Specify the name of an existing workspace in P4 used to create or update a Jenkins build workspace. If connected to a P4 Server the auto-text fill should list suitable workspaces
format : String
Jenkins agent nodes must each use a unique P4 workspace. The format string configures the workspace name by substituting the specified variables: (at least one variable must be used)
Variables can be taken from the Jenkins Environment or Parameterized builds
syncID : String (optional)
shelf : String
resolve : String
tidy : boolean
ignoreEmpty : boolean
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.