Skip to content

Commit

Permalink
Fix JENKINS-12423 complement
Browse files Browse the repository at this point in the history
No display environment variables when the job is building (enable to mask password)
  • Loading branch information
gboissinot committed May 12, 2012
1 parent eb4ca42 commit aa6061c
Showing 1 changed file with 10 additions and 3 deletions.
Expand Up @@ -12,11 +12,18 @@
<h1>${%Build} #${build.number}</h1>
<h2>${%Injected environment variables}</h2>
<j:choose>
<j:when test="${it.envMap.isEmpty()}">
${%No environment variables were been injected}.
<j:when test="${build.isBuilding()}">
${%The job is building. Waiting for the end of the build to display environment variables}.
</j:when>
<j:otherwise>
<t:propertyTable items="${it.envMap}"/>
<j:choose>
<j:when test="${it.envMap.isEmpty()}">
${%No environment variables were been injected}.
</j:when>
<j:otherwise>
<t:propertyTable items="${it.envMap}"/>
</j:otherwise>
</j:choose>
</j:otherwise>
</j:choose>
</l:main-panel>
Expand Down

0 comments on commit aa6061c

Please sign in to comment.