Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #37 from daniel-beck/JENKINS-15764
[FIX JENKINS-15764] Clarify project name to env var transform.
- Loading branch information
|
@@ -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> |
|
@@ -8,5 +8,15 @@ |
|
|
als Referenz für weitere Buildschritte gespeichert. Der Name der Umgebungsvariable |
|
|
ist <tt>COPYARTIFACT_BUILD_NUMBER_</tt> mit dem Namen des Quellprojekts angehängt |
|
|
(alles in Großbuchstaben, alle Zeichen auß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ält |
|
|
die Buildnummer des aus dem Projekt <code>Project-ABC</code> kopierten Builds. |
|
|
<li> |
|
|
Die Umgebungsvariable <code>COPYARTIFACT_BUILD_NUMBER_TOOL_RELEASE_</code> enthält |
|
|
die Buildnummer des aus dem Projekt <code>tool1-release1.2</code> kopierten Builds. |
|
|
</ul> |
|
|
</div> |