windows


How can I use environment variables in an S3 Artifact Upload in Jenkins on Windows?


I have Jenkins running on a Windows server, and I'm trying to upload build artifacts to S3 using the S3 Plugin. I want part of the S3 object key to come from an environment variable (specifically the branch name). The help from the plugin says to use the bash-style ${VAR} syntax, but when I use that, I get the literal text "${VAR}" in the key. Since so much of the help is Linux-centric, I tried using Windows-style instead (%VAR%), but that too gives me the literal text in the key instead of the variable value.
Has anyone been able to use environment variables in S3 keys in Jenkins on Windows with the S3 Plugin?

Related Links

Windows 2016: Docker container error
Fully qualified path for a folder
if exist not functioning in .BAT file
Revert all files with a specified name
Command Prompt/Batch - rename multiple files with sequential numbering
Shutdown command in batch behaves like sleep command, how to fix?
SignalR Owin self-host WebAPI connection limit on windows 7/10
How to set dependency between window services.
how to configure emacs to start in a directory (windows)
Executing a command-line .exe file
Credssp session not working, winRM Error
Mount current directory as volume in Docker on Windows 10
Writing a UMDF virtual device driver (or software device) like Virtual DVD
How to publish solr 4.10 to external network (internet) on Windows?
python-magic installation challenges for 64-bit Windows 10 running 32-bit Python 2.7 build
Where in ansible support for windows?

Categories

HOME
url-redirection
github-for-windows
css3
alarm
spring-data-mongodb
cq5
banner
crystal-lang
qpython
pattern-matching
g++
pcl-crypto
rtf
frequency-distribution
linear-algebra
atlassian-stash
oledb
replication
visual-studio-extensions
zxing
mount
expressionengine3
ms-access-web-app
delimiter
carrierwave
send
xbox
volatile
scatter3d
left-join
biztalk-rule-engine
joomla2.5
processwire
sim-card
gdata
p4merge
lpsolve
xmldocument
servermanager
openresty
ntvs
builder
automapper-5
reportservice2010
facebook-pixel
geotiff
openblas
azure-cli
subnet
reshape
lsyncd
gpg-signature
swingworker
rsa-archer-grc
change-tracking
mta
rspec2
riot
project-organization
nio2
design-principles
rewrite
xvim
.bash-profile
fits
code-documentation
qtwebengine
dbaccess
big-ip
post-commit-hook
entry-point
jama
cfcache
ecslidingviewcontroller
breakout
composite-component
cascadingdropdown
swfobject
mkv
uimanageddocument
veracity
wiimote
floating-point-exceptions
urlrewriter
relative
expression-blend-4
saxparseexception
timthumb
xui
django-paypal
ie-compatibility-mode
cruisecontrol.rb
visualj#
scrubyt
fdf
flvplayback
ifilter
pbcopy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App