Guest User

Untitled

a guest
Aug 23rd, 2017
47
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script() {
  2. description 'Copy Serv artifacts'
  3. inline {
  4. interpreter ScriptInterpreter.POWERSHELL
  5. scriptBody '''$t = "${bamboo_NEXUS_PASSWORD}"
  6.  
  7. $p = ${bamboo.NEXUS_PASSWORD}
  8.  
  9.  
  10.  
  11. $k = "-----------------------"
  12.  
  13.  
  14.  
  15. For ($i=0; $i -le 2; $i++) {
  16.  
  17. echo $k
  18.  
  19. }
  20.  
  21.  
  22.  
  23. echo "DEBUG test -> $t"
  24.  
  25. echo "DEBUG pass -> $p"
  26.  
  27.  
  28.  
  29. For ($i=0; $i -le 2; $i++) {
  30.  
  31. echo $k
  32.  
  33. }
  34.  
  35. '''
  36. }
  37. environmentVariables "CONFIG=${product.branchName}"
  38. }
RAW Paste Data