Guest User

Untitled

a guest
Aug 23rd, 2017
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Here is inline powershell code example:
  2.  
  3. $t = "${bamboo_NEXUS_PASSWORD}"
  4.  
  5. $p = 12345679
  6.  
  7.  
  8.  
  9. $k = "-----------------------"
  10.  
  11.  
  12.  
  13. For ($i=0; $i -le 2; $i++) {
  14.  
  15. echo $k
  16.  
  17. }
  18.  
  19.  
  20.  
  21. echo "DEBUG test -> $t"
  22.  
  23. echo "DEBUG pass -> $p"
  24.  
  25.  
  26.  
  27. For ($i=0; $i -le 2; $i++) {
  28.  
  29. echo $k
  30.  
  31. }
  32.  
  33.  
  34.  
  35.  
  36.  
  37. Output:
  38.  
  39.  
  40.  
  41. 22-Aug-2017 21:23:02
  42.  
  43. -----------------------
  44.  
  45. 22-Aug-2017 21:23:02
  46.  
  47. DEBUG test ->
  48.  
  49. 22-Aug-2017 21:23:02
  50.  
  51. DEBUG pass -> ********
  52.  
  53. 22-Aug-2017 21:23:02
  54.  
  55. -----------------------
RAW Paste Data