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.
rtcBuild
: Step for interacting with EWM (RTC) Buildtask
Request a EWM (RTC) build from the Jenkins pipeline. When a request is successfully created, the step returns the build result UUID in the property "buildResultUUID".
Wait for a EWM (RTC) build result to attain a specific state. Default states to wait for are COMPLETED and INCOMPLETE. If a timeout period is provided, then the task does not return until the specified state is reached or the time period expires. By default, the task will wait indefinitely till the build result reaches the specified states.
Retrieve the details of the one or more logs from an EWM (RTC) build result. Logs appear in the "Logs" tab of the EWM build result. This task will retrieve the details of the logs whose content is stored in the EWM repository.
Retrieve the details of the artifacts from an EWM (RTC) build result. Artifacts appear in the "Downloads" tab of the EWM build result. This task will retrieve the details of the artifacts whose content is stored in the EWM repository.
Download a log from an EWM (RTC) build result. You can download a log using the log’s name or content ID. To retrieve the name or contentId of the log, use the "List Logs" task.
Download an artifact from an EWM (RTC) build result. You can download an artifact using the artifact's name or content ID. To retrieve the name or contentId of the artifact, use the "List Artifacts" task.
Retrieve the Jazz SCM snapshot details for a given EWM (RTC) build result. If the build result has a Jazz SCM snapshot contribution, then the task returns the snapshot's name and UUID. If the build result does not have such a contribution, then the task returns empty values for snapshot name and UUID.
name
String
addOrOverrideProperties
(optional)
boolean
buildDefinitionId
(optional)
String
buildResultUUID
(optional)
String
buildStates
(optional)
String
componentName
(optional)
String
contentId
(optional)
String
deleteProperties
(optional)
boolean
destinationFileName
(optional)
String
fileName
(optional)
String
fileNameOrPattern
(optional)
String
linkEWMBuild
(optional)
boolean
maxResults
(optional)
int
propertiesToAddOrOverride
(optional)
propertyName
(optional)
String
propertyValue
(optional)
String
propertiesToDelete
(optional)
propertyName
(optional)
String
propertyValue
(optional)
String
waitBuildInterval
(optional)
long
waitBuildTimeout
(optional)
int
taskName
String
buildTool
(optional)
The RTC build toolkit to use when running the tasks. The toolkits available are defined in the system configuration (with the other tools like Ant and Java). If the task is run in an agent, then the build toolkit should be available in the agent, either at the same location as the master build toolkit or an overridden location of your choice.
String
credentialsId
(optional)
Credentials for the build user. Make sure a name and password credential for the Jazz Repository should be configured.
String
serverURI
(optional)
The Jazz Repository connection URI for the EWM (RTC) server.
String
timeout
(optional)
The timeout period in seconds for establishing a connection to the Jazz repository when running this step. Default value is 120 seconds.
int
step([$class: 'RTCPostBuildDeliverPublisher'])
: RTC Post Build DeliverPerform post build deliver for Rational Team Concert(RTC) SCM configuration in the Jenkins build.
In a Pipeline job where RTC SCM can be called multiple times, post build deliver will be attempted for each invocation of RTC SCM.
Currently, post build deliver is performed only if a build definition is used as the build configuration. The step uses the post build deliver configuration information from the build definition.
failOnError
If post build deliver operation fails, set the build's status to FAILURE.
boolean
teamconcert
: Team ConcertbuildType
value
String
buildDefinition
String
buildWorkspace
String
buildSnapshot
String
buildStream
String
acceptBeforeLoad
(optional)
boolean
addLinksToWorkItems
(optional)
boolean
buildSnapshotContext
(optional)
snapshotOwnerType
String
processAreaOfOwningStream
String
owningStream
String
owningWorkspace
String
clearLoadDirectory
(optional)
boolean
componentLoadConfig
(optional)
String
componentsToExclude
(optional)
String
createFoldersForComponents
(optional)
boolean
currentSnapshotOwnerType
(optional)
String
customizedSnapshotName
(optional)
String
generateChangelogWithGoodBuild
(optional)
boolean
loadDirectory
(optional)
String
loadPolicy
(optional)
String
overrideDefaultSnapshotName
(optional)
boolean
pathToLoadRuleFile
(optional)
String
pollingOnly
(optional)
boolean
pollingOnlyData
(optional)
snapshotUUID
String
processArea
(optional)
String
useDynamicLoadRules
(optional)
boolean
changelog
(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.
boolean
overrideConfig
(optional)
serverURI
String
credentialsId
String
buildTool
String
avoidUsingToolkit
(optional)
boolean
serverUri
(optional)
String
timeout
(optional)
int
poll
(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.
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.