Closed realrubberduckdev closed 4 years ago
Found this workaround which works for me. Might help others hitting this issue. antony-wintech's description on GitHub issue.
I just added a Powershell step with the following lines inline:
Write-Host "##vso[task.setvariable variable=BUILD_SOURCESDIRECTORY;]$(System.DefaultWorkingDirectory)"
Write-Host "Set environment variable BUILD_SOURCESDIRECTORY to ($env:BUILD_SOURCESDIRECTORY)"
Hi @realrubberduckdev
thanks for reporting this and sorry for the (very) late answer. Also thanks for letting others know on how you solved your problem, this is very much appreciated.
To the issue itself, could it be that you are using the built-in way of triggering builds based on other builds or are you really using the Trigger Build Task from the Marketplace.
I'm asking because the log doesn't look familiar to me and my extension (for example I don't use any file called triggerAnotherBuild.js) - Just in case whether I have to follow up more on this or not.
Hi @huserben You are right! I have opened an issue on the wrong codebase. Apologies. Closing this.
Triggering a build from a release stage on Azure DevOps throws the following error. Does anyone know of a fix or workaround?