Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from ikedam/feature/JENKINS-18938_BuildNumberV…
…ariable [JENKINS-18938] Added a field to specify the suffix for the variable to store the build number
- Loading branch information
Showing
8 changed files
with
260 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-resultVariableSuffix.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<div> | ||
The build number of the selected build will be recorded | ||
into the variable named <tt>COPYARTIFACT_BUILD_NUMBER_(SUFFIX)</tt> | ||
for later build steps to reference. | ||
You can specify that suffix part for that variable here. | ||
<p> | ||
If not specified, the source project name will be used instead | ||
(in all uppercase, and sequences of characters other than A-Z | ||
replaced by a single underscore). | ||
<p><strong>Example</strong>: | ||
<table> | ||
<tr> | ||
<th>Source project name</th> | ||
<th>Suffix to be used</th> | ||
</tr> | ||
<tr> | ||
<td>Project-ABC</td> | ||
<td>PROJECT_ABC</td> | ||
</tr> | ||
<tr> | ||
<td>tool1-release1.2</td> | ||
<td>TOOL_RELEASE_</td> | ||
</tr> | ||
</table> | ||
</div> |
23 changes: 23 additions & 0 deletions
23
...main/resources/hudson/plugins/copyartifact/CopyArtifact/help-resultVariableSuffix_ja.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div> | ||
コピー元のビルドのビルド番号を <tt>COPYARTIFACT_BUILD_NUMBER_(SUFFIX)</tt> | ||
という変数に保存し、以降のビルド処理で参照できるようにします。 | ||
その際に使用する SUFFIX の部分をここで指定します。 | ||
<p> | ||
指定しない場合、コピー元のプロジェクト名が使用されます。 | ||
プロジェクト名はすべて大文字、A-Z 以外の文字がすべてアンダースコアに変換されます。 | ||
<p><strong>例</strong>: | ||
<table> | ||
<tr> | ||
<th>Source project name</th> | ||
<th>Suffix to be used</th> | ||
</tr> | ||
<tr> | ||
<td>Project-ABC</td> | ||
<td>PROJECT_ABC</td> | ||
</tr> | ||
<tr> | ||
<td>tool1-release1.2</td> | ||
<td>TOOL_RELEASE_</td> | ||
</tr> | ||
</table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.