Bamboo version 6.10.4
Powershell version 5.1
I have a Bamboo Task setup as Script Interpreter - Windows PowerShell, Script Location - In Line.
Within the in-line powershell script, I set a few variables, then call .\Test.ps1
After changes are made to the Test.ps1, it is saved, highlighted and run so PS has the updated version in memory. I need Bamboo to run the new version of Test.ps1 but it is running an old version. How can I force Bamboo to re-read/re-cache the powershell script?
Thanks,
Carl
Hi @CarlAtCdgems ,
Is the script being sourced from a code repository? If so, then you may want to clean the build directory.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.