Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Set variable in "Build > PowerShell command" #3757

SameOldSong ·

I use step "PowerShell command"to issue some PS commands and I also calculate some values in the script. Is it possible to set a value to a build variable within the PowerShell step? How can it be done? Thank you

  • replies 2
  • views 1770
  • stars 0
robinshen ADMIN ·

Unfortunately it is not possible to set QB variable while executing external process. You may consider write value of the shell variable to an external file, and add a groovy step afterwards to read content of that file to set QB variable.

SameOldSong ·

thank you) already implementing)