filePublication

Adds a file publication with the specified path.

Example:

filePublication("build/libs/**/*.jar")

Parameters

path

path to the file(s) to publish


fun filePublication(path: String, publishArtifact: Boolean, shareWithJobs: Boolean)

Adds a file publication with the specified path and options.

Example:

filePublication("build/libs/**/*.jar", true, false)

Parameters

path

path to the file(s) to publish

publishArtifact

whether to publish the file as an artifact

shareWithJobs

whether to share the file with other jobs