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.
step([$class: 'TargetPlatformPublisher'])
: Archive and publish an Eclipse Target PlatformarchiveArtifacts artifacts: '**/*.txt',
allowEmptyArchive: true,
fingerprint: true,
onlyIfSuccessful: true
artifacts : String
","
( comma ) is the only supported separator. The base directory is the workspace . You can only archive files that are located in your workspace.
Here are some examples of usage for pipeline:
archiveArtifacts artifacts: 'target/*.jar'
archiveArtifacts artifacts: 'target/*.jar, target/*.war'
archiveArtifacts artifacts: '**/*.jar'
latestOnly : boolean
targetPlatformName : String
excludes : String
(optional)
allowEmptyArchive : boolean
(optional)
caseSensitive : boolean
(optional)
org.apache.tools.ant.DirectoryScanner
which by default is case sensitive. For instance, if the job produces *.hpi files, pattern "**/*.HPI" will fail to find them.
defaultExcludes : boolean
(optional)
fingerprint : boolean
(optional)
followSymlinks : boolean
(optional)
onlyIfSuccessful : 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.