Hi,
I have a step template which is a script, whenever I add it as a child step to a rolling deploying, I get the below error:
There was a problem with your request: Providing a nuget feed is not valid for inline scripts.
Any idea why I am getting this?
Thanks,
Milan
Hi,
I am getting the same error when creating a new project and adding this step as the first process. This is just a script template.
Not sure what’s causing it. It’s just a powershell script which changes the content of a file.
Thanks,
M
Hi Milan,
Thanks for getting in touch! I am sorry I did not respond sooner to this I thought I had but it turns out we had two reports. I am sorry.
We changed the data and have an update script but it looks like step templates were missed.
The workaround is to, go to the original step template (copy and paste your script somewhere) change to package and save. Then change back to source and save again.
It will fix the bad data. You should then be able to use your template again.
Vanessa
Hi Milan,
Great to hear. Again sorry for the troubles. We should have a fix out in the next release, but in the mean time you may have to complete this on any other script steps you have.
Vanessa
This is a bigger problem; when attempting to overcome/workaround this bug, I cannot save the Step, because the following error appears: Providing a script syntax is not valid for scripts from a package.
No matter what I do, I cannot create a “Run a script” step type, using Octopus 3.3.9. I updated from 3.3.2 to 3.3.9 because of Cloning bugs (a different, but big problem, also).
What to do???
Hi Sean,
The fix is being released today in 3.3.10 to update the data accordingly. Please report back.
Vanessa