From 2773baf3d0ad333cf0012d5c4cfd51ad2155893f Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 28 Jan 2023 10:17:12 -0700 Subject: [PATCH] Add Pipeline help for three flags https://www.jenkins.io/doc/pipeline/steps/copyartifact/ Add descriptions of flags --- .../copyartifact/CopyArtifact/help-fingerprintArtifacts.html | 3 +++ .../plugins/copyartifact/CopyArtifact/help-flatten.html | 4 ++++ .../plugins/copyartifact/CopyArtifact/help-optional.html | 4 ++++ 3 files changed, 11 insertions(+) create mode 100644 src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-fingerprintArtifacts.html create mode 100644 src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-flatten.html create mode 100644 src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-optional.html diff --git a/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-fingerprintArtifacts.html b/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-fingerprintArtifacts.html new file mode 100644 index 00000000..00d75704 --- /dev/null +++ b/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-fingerprintArtifacts.html @@ -0,0 +1,3 @@ +
+ Automatically fingerprint all artifacts that are copied as part of this build step. +
diff --git a/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-flatten.html b/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-flatten.html new file mode 100644 index 00000000..31bf8138 --- /dev/null +++ b/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-flatten.html @@ -0,0 +1,4 @@ +
+ Ignore the directory structure of the artifacts in the source project and copy all matching artifacts directly into the specified target directory. + By default the artifacts are copied in the same directory structure as the source project. +
diff --git a/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-optional.html b/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-optional.html new file mode 100644 index 00000000..f9ecd785 --- /dev/null +++ b/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-optional.html @@ -0,0 +1,4 @@ +
+ Allow this build to continue even if no build is found that matches the "Which build" condition. + By default this build step fails the build if no artifacts are copied. +