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.
build: Build a job
job : StringName of a downstream job to build. May be another Pipeline job, but more commonly a freestyle or other project. Use a simple name if the job is in the same folder as this upstream Pipeline job; otherwise can use relative paths like
../sister-folder/downstreamor absolute paths like/top-level-folder/nested-folder/downstream.parameters(optional)A list of parameters to pass to the downstream job. When passing secrets to downstream jobs, prefer credentials parameters over password parameters. See the documentation for details.
- Array / List of Nested Choice of Objects
adminBooleanname : Stringvalue : boolean
adminStringname : Stringvalue : String
agentParametername : Stringvalue : String
base64Filename : Stringbase64 : String(optional)file(optional)- Nested Choice of Objects
booleanParamname : Stringvalue : boolean
buildMasterReleasename : StringapplicationId : StringreleaseNumber : StringshowApplicationId : booleandescription : String
checkboxParametername : Stringvalue : String
$class: 'ClearCaseUcmBaselineParameterValue'name : Stringbaseline : StringforceRmview : boolean
credentialsname : Stringvalue : Stringdescription : String
$class: 'CvsTagsParamValue'name : StringtagName : String
$class: 'DateParameterValue'name : Stringvalue : Stringdescription : String
$class: 'DeployMetaDataParameterValue'name : StringenvironmentKey : StringbuildVersion : StringapplicationName : String
filename : Stringfile- Nested Choice of Objects
fileSystemListname : Stringvalue : String
$class: 'GeneratorKeyValueParameterValue'name : Stringvalue : String
gitParametername : Stringvalue : String
imageTagname : StringimageName : StringimageTag : String
$class: 'InheritableStringParameterValue'name : Stringvalue : String
$class: 'JavaParameterValue'name : Stringdescription : StringselectedJDK : String
jiraIssuename : Stringvalue : String
jiraReleaseVersionname : Stringversion : String
jsonEditorname : Stringvalue : String
$class: 'LabelParameterValue'name : Stringlabel : StringallNodesMatchingLabel : booleannodeEligibility- Nested Choice of Objects
$class: 'AllNodeEligibility'$class: 'IgnoreOfflineNodeEligibility'$class: 'IgnoreTempOfflineNodeEligibility'
listGitBranchesname : Stringvalue : String
$class: 'ListSubversionTagsParameterValue'name : StringtagsDir : Stringtag : String
$class: 'MatrixCombinationsParameterValue'name : Stringdescription : Stringcombinations : Array / List of String
mavenMetadataVersionsname : Stringdescription : StringgroupId : StringartifactId : Stringversion : Stringpackaging : Stringclassifier : StringartifactUrl : String
multiselectname : StringselectedValues(optional)- Type:
java.util.Map<java.lang.String, java.lang.String>
- Type:
$class: 'NodeParameterValue'name : Stringlabels : Array / List of StringnodeEligibility- Nested Choice of Objects
$class: 'AllNodeEligibility'$class: 'IgnoreOfflineNodeEligibility'$class: 'IgnoreTempOfflineNodeEligibility'
orasPlatformParametername : Stringregistry : Stringrepository : Stringtag : Stringdigest : Stringannotations- Type:
java.util.Map<java.lang.String, java.lang.String>
- Type:
platform- Type:
class io.jenkins.plugins.oras.parameter.OrasPlatformParameterDefinition$PlatformWrapper
- Type:
orasRepositoryParametername : Stringregistry : Stringrepository : String
orasTagParametername : Stringregistry : Stringrepository : Stringtag : Stringdigest : Stringannotations- Type:
java.util.Map<java.lang.String, java.lang.String>
- Type:
$class: 'PackageChoiceParameterValue'name : Stringvalue : String
separatorname : StringseparatorStyle : StringsectionHeader : StringsectionHeaderStyle : String
$class: 'PatchParameterValue'name : Stringfile- Nested Choice of Objects
$class: 'PromotedBuildParameterValue'name : StringrunId : Stringdescription : String
quayImageParametername : Stringorganization : Stringrepository : Stringtag : String
$class: 'RandomStringParameterValue'name : Stringvalue : String
RESTListname : Stringvalue : String
$class: 'ReviewboardParameterValue'name : Stringvalue : String
runname : StringrunId : Stringdescription : String
$class: 'SauceParameterValue'name : StringselectedBrowsers : String
stashedFilename : Stringfile- Nested Choice of Objects
stringname : Stringvalue : String
textname : Stringvalue : String
$class: 'VBoxParameterValue'name : Stringnodes : Array / List of StringnodeDelimiter : String
emailname : Stringvalue : String
validatingStringname : Stringvalue : String
validatingYamlParametername : Stringvalue : StringfailedValidationMessage : String(optional)
hiddenname : Stringvalue : String
$class: 'WReadonlyStringParameterValue'name : Stringvalue : String
$class: 'WReadonlyTextParameterValue'name : Stringvalue : String
extendedChoicename : Stringvalue : String
nonStoredPasswordname : Stringvalue : Stringdescription : String
$class: 'com.moded.extendedchoiceparameter.ExtendedChoiceParameterValue'name : Stringvalue : String
passwordname : Stringvalue- Type:
class hudson.util.Secret
- Type:
description : String
propagate : boolean(optional)If enabled (default state), then the result of this step is that of the downstream build (e.g., success, unstable, failure, not built, or aborted). If disabled, then this step succeeds even if the downstream build is unstable, failed, etc.; use the
resultproperty of the return value as needed.quietPeriod : int(optional)Optional alternate quiet period (in seconds) before building. If unset, defaults to the quiet period defined by the downstream project (or finally to the system-wide default quiet period).
wait : boolean(optional)If true, the pipeline will wait for the result of the build step before jumping to the next step. Defaults to true.
waitForStart : boolean(optional)If true, the pipeline will wait for the downstream build to start before jumping to the next step. Defaults to false. Overrides the value of
wait.
waitForBuild: Wait for build to complete
runId : StringThe externalizableId of the build to wait on.
propagate : boolean(optional)If enabled, then the result of this step is that of the downstream build being waited on (e.g., success, unstable, failure, not built, or aborted). If disabled (default state), then this step succeeds even if the downstream build is unstable, failed, etc.; use the
resultproperty of the return value as needed.propagateAbort : boolean(optional)
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.