-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Prerequisites
- I have written a descriptive issue title
- I have searched issues to ensure it has not already been reported
GitVersion package
AzureDevops task
GitVersion version
2.0.1
Operating system
Linux
What are you seeing?
After running task gitversion/setup and gitversion/execure both on version v2, the first pipeline run fails immediately on gitversion execute with the following error
On the second attempt the execute task passes, same pipeline, same agent, second attempt
It seems like the PATH is not immediately available after installation.
What is expected?
Gitversion/execute task should work every single time after gitversion/setup
Steps to Reproduce
Run the following tasks on a self hosted agent.
-
task: gitversion/setup@2
displayName: "Use GitVersion ${{ parameters.GitVersionRelease }}"
inputs:
versionSpec: ${{ parameters.GitVersionRelease }} -
task: gitversion/execute@2
displayName: "Calculate version (if available)"
inputs:
updateAssemblyInfo: false
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working


