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
","
(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'
String
latestOnly
boolean
targetPlatformName
String
excludes
(optional)
String
allowEmptyArchive
(optional)
boolean
caseSensitive
(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.
boolean
defaultExcludes
(optional)
boolean
fingerprint
(optional)
boolean
followSymlinks
(optional)
boolean
onlyIfSuccessful
(optional)
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.