Skip to content

Commit

Permalink
Merge pull request #37 from daniel-beck/JENKINS-15764
Browse files Browse the repository at this point in the history
[FIX JENKINS-15764] Clarify project name to env var transform.
  • Loading branch information
ikedam committed May 15, 2014
2 parents 4c6e978 + a20e0a9 commit f6152e9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion src/main/webapp/help-buildSelector.html
Expand Up @@ -5,5 +5,15 @@
The build number of the selected build will be recorded in the environment
for later build steps to reference. The name of the environment variable
is <tt>COPYARTIFACT_BUILD_NUMBER_</tt> with the source project name appended
(in all uppercase, and characters other than A-Z replaced with underscore).
(in all uppercase, and sequences of characters other than A-Z replaced by a
single underscore).
<p><strong>Example</strong>:
<ul>
<li>
The build number of the build for the source project <code>Project-ABC</code> is
available in <code>COPYARTIFACT_BUILD_NUMBER_PROJECT_ABC</code></li>
<li>
The build number of the build for the source project <code>tool1-release1.2</code> is
available in <code>COPYARTIFACT_BUILD_NUMBER_TOOL_RELEASE_</code></li>
</ul>
</div>
12 changes: 11 additions & 1 deletion src/main/webapp/help-buildSelector_de.html
Expand Up @@ -8,5 +8,15 @@
als Referenz f&uuml;r weitere Buildschritte gespeichert. Der Name der Umgebungsvariable
ist <tt>COPYARTIFACT_BUILD_NUMBER_</tt> mit dem Namen des Quellprojekts angeh&auml;ngt
(alles in Gro&szlig;buchstaben, alle Zeichen au&szlig;er A-Z werden durch Unterstriche
ersetzt).
ersetzt, wobei statt mehrerer aufeinanderfolgender Unterstriche nur ein einziger
verwendet wird).
<p><strong>Beispiel</strong>:
<ul>
<li>
Die Umgebungsvariable <code>COPYARTIFACT_BUILD_NUMBER_PROJECT_ABC</code> enth&auml;lt
die Buildnummer des aus dem Projekt <code>Project-ABC</code> kopierten Builds.
<li>
Die Umgebungsvariable <code>COPYARTIFACT_BUILD_NUMBER_TOOL_RELEASE_</code> enth&auml;lt
die Buildnummer des aus dem Projekt <code>tool1-release1.2</code> kopierten Builds.
</ul>
</div>

0 comments on commit f6152e9

Please sign in to comment.