file Publication
Adds a file publication with the specified path.
Example:
filePublication("build/libs/**/*.jar")Content copied to clipboard
Parameters
path
path to the file(s) to publish
Adds a file publication with the specified path and options.
Example:
filePublication("build/libs/**/*.jar", true, false)Content copied to clipboard
Parameters
path
path to the file(s) to publish
publish Artifact
whether to publish the file as an artifact
share With Jobs
whether to share the file with other jobs