Skip to content

Commit

Permalink
Add note about environment variable in parameter file.html
Browse files Browse the repository at this point in the history
  • Loading branch information
xndcn authored Oct 24, 2024
1 parent 1869fc0 commit 347fec6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions war/src/main/webapp/help/parameter/file.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
<code>my.zip</code>
.) The name will not include the directory name portion.
</p>
<p>
Please note that some shells (such as the default /bin/sh) may not be able
to recognize environment variables with special symbols like abc.zip. Try
using shebang like
<code>#!/bin/bash</code>
in shell script and use
<code>$(printenv abc.zip)</code>
to get the original file name.
</p>
<p>
File upload is optional. If a user chooses not to upload anything, Jenkins
will simply skips this parameter and will not place anything (but it also
Expand Down

0 comments on commit 347fec6

Please sign in to comment.