% in windows cmd
AppVeyor seems to remove %
in windows cmd variables?
This:
set mv=percent:%
echo %mv%
will echo percent:%
on windows. However, in AppVeyor it will echo percent:
(see minimal sample).
Is there a simple solution to this?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 17 Jun, 2020 05:32 PM
Try putting your command into a separate
build.cmd
and then call it from yaml:Let me know if that did the trick.
2 Posted by Markus Diem on 18 Jun, 2020 06:42 AM
in the end I want to put it in an encrypted variable:
but the % is removed (and everything after) as soon as the variable is decrypted.Support Staff 3 Posted by Feodor Fitsner on 19 Jun, 2020 01:47 AM
I'd recommend using PowerShell to work with such variables. This is the example that the variable with percent is perfectly down to worker VM and can be displayed/processed with PS: https://ci.appveyor.com/project/FeodorFitsner/simple-console/builds...
4 Posted by Markus Diem on 23 Jun, 2020 07:38 AM
thanks. that does the trick!