Skip to content

[ISSUE]: GitVersion.yml config file not detected #1353

@jmartens

Description

@jmartens

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

GitVersion package

AzureDevops task

What are you seeing?

I am using the azure devops GitVersoin task and am running into issues:

This is the relevant section from the pipeline with failure:

  - task: gitversion/setup@3
    displayName: 'Install GitVersion'
    inputs:
      versionSpec: '6.x'
      preferLatestVersion: true

  - task: gitversion/execute@3
    displayName: 'Determine version with GitVersion'
    inputs:
      useConfigFile: true

I have added the following for debugging in between the two steps:

  - task: CmdLine@2
    inputs:
      script: |
        echo "Structure of work folder of this pipeline:"
        find $(Agent.WorkFolder)/1 -iname "GitVersion.y*ml" -print

        echo "Build.ArtifactStagingDirectory:"
        find "$(Build.ArtifactStagingDirectory)" -iname "GitVersion.y*ml" -print

        echo "Build.BinariesDirectory:"
        find "$(Build.BinariesDirectory)" -iname "GitVersion.y*ml" -print

        echo "Build.SourcesDirectory:"
        find "$(Build.SourcesDirectory)" -iname "GitVersion.y*ml" -print

It seems to output the file is present and at the correct location AFAICT: /home/vsts/work/1/s/GitVersion.yml

2024-11-21T13:36:44.4372254Z Running on: 'Azure Pipelines'
2024-11-21T13:36:44.4374959Z Disable Telemetry
2024-11-21T13:36:44.4474428Z --------------------------
2024-11-21T13:36:44.4476487Z Acquiring GitVersion.Tool for version spec: 6.x
2024-11-21T13:36:44.4477289Z --------------------------
2024-11-21T13:36:44.4484844Z Querying tool versions for GitVersion.Tool@6.x 
2024-11-21T13:36:45.1763146Z Found matching version: 6.0.5
2024-11-21T13:36:45.1800056Z Command: dotnet tool install GitVersion.Tool --tool-path /home/vsts/work/_temp/1117659b-cc69-4e9b-8900-ffd795b61e95 --version 6.0.5
2024-11-21T13:36:49.1978921Z --------------------------
2024-11-21T13:36:49.1979349Z GitVersion.Tool version: 6.0.5 installed.
2024-11-21T13:36:49.1980406Z --------------------------
2024-11-21T13:36:49.1983314Z Prepending /opt/hostedtoolcache/GitVersion.Tool/6.0.5 to PATH
2024-11-21T13:36:49.1986907Z Updated PATH: /opt/hostedtoolcache/GitVersion.Tool/6.0.5:/snap/bin:/home/vsts/.local/bin:/opt/pipx_bin:/home/vsts/.cargo/bin:/home/vsts/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/vsts/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
2024-11-21T13:36:49.1994272Z Set GITVERSION_PATH to /opt/hostedtoolcache/GitVersion.Tool/6.0.5
2024-11-21T13:36:49.2000182Z GitVersion installed successfully
2024-11-21T13:36:49.2143062Z ##[section]Finishing: Install GitVersion
2024-11-21T13:36:49.2164621Z ##[section]Starting: CmdLine
2024-11-21T13:36:49.2169364Z ==============================================================================
2024-11-21T13:36:49.2169485Z Task         : Command line
2024-11-21T13:36:49.2169558Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2024-11-21T13:36:49.2169684Z Version      : 2.246.1
2024-11-21T13:36:49.2169752Z Author       : Microsoft Corporation
2024-11-21T13:36:49.2169847Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2024-11-21T13:36:49.2169956Z ==============================================================================
2024-11-21T13:36:49.4162152Z Generating script.
2024-11-21T13:36:49.4197009Z ========================== Starting Command Output ===========================
2024-11-21T13:36:49.4210659Z [command]/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/9c7ac416-597b-473d-bd6d-f158946327eb.sh
2024-11-21T13:36:49.4280003Z Structure of work folder of this pipeline:
2024-11-21T13:36:49.4324927Z /home/vsts/work/1/s/GitVersion.yml
2024-11-21T13:36:49.4325200Z Build.ArtifactStagingDirectory:
2024-11-21T13:36:49.4355799Z Build.BinariesDirectory:
2024-11-21T13:36:49.4377318Z Build.SourcesDirectory:
2024-11-21T13:36:49.4394659Z /home/vsts/work/1/s/GitVersion.yml
2024-11-21T13:36:49.4436555Z 
2024-11-21T13:36:49.4494442Z ##[section]Finishing: CmdLine
2024-11-21T13:36:49.4513880Z ##[section]Starting: Determine version with GitVersion
2024-11-21T13:36:49.4518434Z ==============================================================================
2024-11-21T13:36:49.4518572Z Task         : Execute GitVersion Task
2024-11-21T13:36:49.4518654Z Description  : Easy Semantic Versioning (https://semver.org) for projects using Git
2024-11-21T13:36:49.4518777Z Version      : 3.0.3
2024-11-21T13:36:49.4518844Z Author       : GitTools Contributors
2024-11-21T13:36:49.4518924Z Help         : See the [documentation](https://gitversion.net/docs/) for help
2024-11-21T13:36:49.4520068Z ==============================================================================
2024-11-21T13:36:49.5809702Z Running on: 'Azure Pipelines'
2024-11-21T13:36:49.5822250Z Disable Telemetry
2024-11-21T13:36:49.5837485Z Executing GitVersion
2024-11-21T13:36:49.5887682Z Command: git -C /home/vsts/work/1/s rev-parse --is-shallow-repository
2024-11-21T13:36:49.6047657Z ##[error]GitVersion configuration file not found at /home/vsts/work/1/s
2024-11-21T13:36:49.6085353Z ##[section]Finishing: Determine version with GitVersion

What is expected?

Execute the run w/o errors and determine the version number as GitVersion.yml, the default expected filename is in the correct place.

Steps to Reproduce

  1. Create a GitVersion.yml file in the root of your repo
  2. Create a azure pipeline with at least the following steps:
  - task: gitversion/setup@3
    displayName: 'Install GitVersion'
    inputs:
      versionSpec: '6.x'
      preferLatestVersion: true

  - task: gitversion/execute@3
    displayName: 'Determine version with GitVersion'
    inputs:
      useConfigFile: true
  1. Run the pipeline and observe the error

Output log or link to your CI build (if appropriate).

2024-11-21T13:36:40.1093693Z ##[section]Starting: Release configuration
2024-11-21T13:36:40.3026594Z ##[section]Starting: Initialize job
2024-11-21T13:36:40.3029986Z Agent name: 'Hosted Agent'
2024-11-21T13:36:40.3030556Z Agent machine name: 'fv-az1016-576'
2024-11-21T13:36:40.3031266Z Current agent version: '3.246.0'
2024-11-21T13:36:40.3076085Z ##[group]Operating System
2024-11-21T13:36:40.3076294Z Ubuntu
2024-11-21T13:36:40.3076434Z 22.04.5
2024-11-21T13:36:40.3076567Z LTS
2024-11-21T13:36:40.3076699Z ##[endgroup]
2024-11-21T13:36:40.3076867Z ##[group]Runner Image
2024-11-21T13:36:40.3077206Z Image: ubuntu-22.04
2024-11-21T13:36:40.3077375Z Version: 20241117.1.0
2024-11-21T13:36:40.3077648Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20241117.1/images/ubuntu/Ubuntu2204-Readme.md
2024-11-21T13:36:40.3078005Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20241117.1
2024-11-21T13:36:40.3078255Z ##[endgroup]
2024-11-21T13:36:40.3078426Z ##[group]Runner Image Provisioner
2024-11-21T13:36:40.3078905Z 2.0.384.1
2024-11-21T13:36:40.3079489Z ##[endgroup]
2024-11-21T13:36:40.3085248Z Current image version: '20241117.1.0'
2024-11-21T13:36:40.4521244Z Agent running as: 'vsts'
2024-11-21T13:36:40.4579837Z Prepare build directory.
2024-11-21T13:36:40.4942034Z Set build variables.
2024-11-21T13:36:40.4987087Z Download all required tasks.
2024-11-21T13:36:40.5207973Z Downloading task: gitversion/setup (3.0.3)
2024-11-21T13:36:40.6351577Z Downloading task: CmdLine (2.246.1)
2024-11-21T13:36:40.8520102Z Downloading task: gitversion/execute (3.0.3)
2024-11-21T13:36:40.9993440Z Checking job knob settings.
2024-11-21T13:36:40.9996186Z    Knob: DockerActionRetries = true Source: $(VSTSAGENT_DOCKER_ACTION_RETRIES) 
2024-11-21T13:36:40.9996542Z    Knob: AgentToolsDirectory = /opt/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY} 
2024-11-21T13:36:40.9997810Z    Knob: UseGitLongPaths = true Source: $(USE_GIT_LONG_PATHS) 
2024-11-21T13:36:40.9998648Z    Knob: AgentPerflog = /home/vsts/perflog Source: ${VSTS_AGENT_PERFLOG} 
2024-11-21T13:36:41.0000190Z    Knob: EnableIssueSourceValidation = true Source: $(ENABLE_ISSUE_SOURCE_VALIDATION) 
2024-11-21T13:36:41.0000938Z    Knob: AgentEnablePipelineArtifactLargeChunkSize = true Source: $(AGENT_ENABLE_PIPELINEARTIFACT_LARGE_CHUNK_SIZE) 
2024-11-21T13:36:41.0003277Z    Knob: ContinueAfterCancelProcessTreeKillAttempt = true Source: $(VSTSAGENT_CONTINUE_AFTER_CANCEL_PROCESSTREEKILL_ATTEMPT) 
2024-11-21T13:36:41.0003978Z    Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC) 
2024-11-21T13:36:41.0004453Z    Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC_LOG) 
2024-11-21T13:36:41.0004925Z    Knob: ProcessHandlerTelemetry = true Source: $(AZP_75787_ENABLE_COLLECT) 
2024-11-21T13:36:41.0005423Z    Knob: UseNewNodeHandlerTelemetry = True Source: $(DistributedTask.Agent.USENEWNODEHANDLERTELEMETRY) 
2024-11-21T13:36:41.0005922Z    Knob: ProcessHandlerEnableNewLogic = true Source: $(AZP_75787_ENABLE_NEW_PH_LOGIC) 
2024-11-21T13:36:41.0006649Z    Knob: EnableResourceMonitorDebugOutput = true Source: $(AZP_ENABLE_RESOURCE_MONITOR_DEBUG_OUTPUT) 
2024-11-21T13:36:41.0007174Z    Knob: EnableResourceUtilizationWarnings = true Source: $(AZP_ENABLE_RESOURCE_UTILIZATION_WARNINGS) 
2024-11-21T13:36:41.0007872Z    Knob: IgnoreVSTSTaskLib = true Source: $(AZP_AGENT_IGNORE_VSTSTASKLIB) 
2024-11-21T13:36:41.0009266Z    Knob: FailJobWhenAgentDies = true Source: $(FAIL_JOB_WHEN_AGENT_DIES) 
2024-11-21T13:36:41.0010077Z    Knob: CheckForTaskDeprecation = true Source: $(AZP_AGENT_CHECK_FOR_TASK_DEPRECATION) 
2024-11-21T13:36:41.0010904Z    Knob: CheckIfTaskNodeRunnerIsDeprecated246 = True Source: $(DistributedTask.Agent.CheckIfTaskNodeRunnerIsDeprecated246) 
2024-11-21T13:36:41.0011911Z    Knob: UseNode20ToStartContainer = True Source: $(DistributedTask.Agent.UseNode20ToStartContainer) 
2024-11-21T13:36:41.0012867Z    Knob: LogTaskNameInUserAgent = true Source: $(AZP_AGENT_LOG_TASKNAME_IN_USERAGENT) 
2024-11-21T13:36:41.0013718Z    Knob: UseFetchFilterInCheckoutTask = true Source: $(AGENT_USE_FETCH_FILTER_IN_CHECKOUT_TASK) 
2024-11-21T13:36:41.0014793Z    Knob: Rosetta2Warning = true Source: $(ROSETTA2_WARNING) 
2024-11-21T13:36:41.0015987Z    Knob: AddForceCredentialsToGitCheckout = True Source: $(DistributedTask.Agent.AddForceCredentialsToGitCheckout) 
2024-11-21T13:36:41.0016453Z Finished checking job knob settings.
2024-11-21T13:36:41.0422669Z Start tracking orphan processes.
2024-11-21T13:36:41.0668467Z ##[section]Finishing: Initialize job
2024-11-21T13:36:41.0901028Z ##[section]Async Command Start: DetectDockerContainer
2024-11-21T13:36:41.0901810Z ##[section]Async Command End: DetectDockerContainer
2024-11-21T13:36:41.0902976Z ##[section]Async Command Start: DetectDockerContainer
2024-11-21T13:36:41.0903406Z ##[section]Async Command End: DetectDockerContainer
2024-11-21T13:36:41.1138784Z ##[section]Starting: Checkout maastro/renovate-config@feature/debug to s
2024-11-21T13:36:41.1410897Z ==============================================================================
2024-11-21T13:36:41.1411818Z Task         : Get sources
2024-11-21T13:36:41.1412343Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2024-11-21T13:36:41.1412545Z Version      : 1.0.0
2024-11-21T13:36:41.1413144Z Author       : Microsoft
2024-11-21T13:36:41.1413873Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2024-11-21T13:36:41.1414148Z ==============================================================================
2024-11-21T13:36:41.7088947Z Syncing repository: maastro/renovate-config (Bitbucket)
2024-11-21T13:36:41.7911426Z ##[command]git version
2024-11-21T13:36:41.8627346Z git version 2.47.0
2024-11-21T13:36:41.8657958Z ##[command]git lfs version
2024-11-21T13:36:41.9397867Z git-lfs/3.5.1 (GitHub; linux amd64; go 1.21.8)
2024-11-21T13:36:41.9627457Z ##[command]git init "/home/vsts/work/1/s"
2024-11-21T13:36:41.9789557Z hint: Using 'master' as the name for the initial branch. This default branch name
2024-11-21T13:36:41.9790296Z hint: is subject to change. To configure the initial branch name to use in all
2024-11-21T13:36:41.9792979Z hint: of your new repositories, which will suppress this warning, call:
2024-11-21T13:36:41.9794369Z hint:
2024-11-21T13:36:41.9796164Z hint: 	git config --global init.defaultBranch <name>
2024-11-21T13:36:41.9798036Z hint:
2024-11-21T13:36:41.9800148Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2024-11-21T13:36:41.9802447Z hint: 'development'. The just-created branch can be renamed via this command:
2024-11-21T13:36:41.9803150Z hint:
2024-11-21T13:36:41.9804048Z hint: 	git branch -m <name>
2024-11-21T13:36:41.9823763Z Initialized empty Git repository in /home/vsts/work/1/s/.git/
2024-11-21T13:36:41.9854652Z ##[command]git remote add origin https://bitbucket.org/maastro/renovate-config
2024-11-21T13:36:41.9938213Z ##[command]git config gc.auto 0
2024-11-21T13:36:42.0082376Z ##[command]git config core.longpaths true
2024-11-21T13:36:42.0088888Z ##[command]git config --get-all http.https://bitbucket.org/maastro/renovate-config.extraheader
2024-11-21T13:36:42.0109449Z ##[command]git config --get-all http.extraheader
2024-11-21T13:36:42.0172316Z ##[command]git config --get-regexp .*extraheader
2024-11-21T13:36:42.0188186Z ##[command]git config --get-all http.proxy
2024-11-21T13:36:42.0256973Z ##[command]git config http.version HTTP/1.1
2024-11-21T13:36:42.0449145Z ##[command]git --config-env=http.extraheader=env_var_http.extraheader fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin
2024-11-21T13:36:42.9388680Z remote: Enumerating objects: 169, done.        
2024-11-21T13:36:42.9388986Z remote: Counting objects:   0% (1/169)
2024-11-21T13:36:43.1726055Z Resolving deltas: 100% (93/93), done.
2024-11-21T13:36:43.1779574Z From https://bitbucket.org/maastro/renovate-config
2024-11-21T13:36:43.1779992Z  * [new branch]      feature/daily-and-release-run -> origin/feature/daily-and-release-run
2024-11-21T13:36:43.1782238Z  * [new branch]      feature/debug -> origin/feature/debug
2024-11-21T13:36:43.1783264Z  * [new branch]      feature/run-on-specific-repo -> origin/feature/run-on-specific-repo
2024-11-21T13:36:43.1783601Z  * [new branch]      main          -> origin/main
2024-11-21T13:36:43.1783880Z  * [new tag]         v1.0.0        -> v1.0.0
2024-11-21T13:36:43.1787674Z  * [new tag]         v1.0.1        -> v1.0.1
2024-11-21T13:36:43.1789482Z  * [new tag]         v1.0.2        -> v1.0.2
2024-11-21T13:36:43.1791649Z  * [new tag]         v1.0.3        -> v1.0.3
2024-11-21T13:36:43.1793860Z  * [new tag]         v1.0.4        -> v1.0.4
2024-11-21T13:36:43.2167698Z ##[command]git --config-env=http.extraheader=env_var_http.extraheader fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin   +50fb0c3344baefa9e19d88cf46ab65a5477fbf9d
2024-11-21T13:36:43.9098707Z From https://bitbucket.org/maastro/renovate-config
2024-11-21T13:36:43.9106082Z  * branch            50fb0c3344baefa9e19d88cf46ab65a5477fbf9d -> FETCH_HEAD
2024-11-21T13:36:43.9565832Z ##[command]git checkout --progress --force 50fb0c3344baefa9e19d88cf46ab65a5477fbf9d
2024-11-21T13:36:43.9572082Z Note: switching to '50fb0c3344baefa9e19d88cf46ab65a5477fbf9d'.
2024-11-21T13:36:43.9572222Z 
2024-11-21T13:36:43.9572845Z You are in 'detached HEAD' state. You can look around, make experimental
2024-11-21T13:36:43.9573154Z changes and commit them, and you can discard any commits you make in this
2024-11-21T13:36:43.9573415Z state without impacting any branches by switching back to a branch.
2024-11-21T13:36:43.9573697Z 
2024-11-21T13:36:43.9573923Z If you want to create a new branch to retain commits you create, you may
2024-11-21T13:36:43.9574263Z do so (now or later) by using -c with the switch command. Example:
2024-11-21T13:36:43.9574361Z 
2024-11-21T13:36:43.9574590Z   git switch -c <new-branch-name>
2024-11-21T13:36:43.9574687Z 
2024-11-21T13:36:43.9574864Z Or undo this operation with:
2024-11-21T13:36:43.9574940Z 
2024-11-21T13:36:43.9575098Z   git switch -
2024-11-21T13:36:43.9575180Z 
2024-11-21T13:36:43.9575388Z Turn off this advice by setting config variable advice.detachedHead to false
2024-11-21T13:36:43.9575495Z 
2024-11-21T13:36:43.9575683Z HEAD is now at 50fb0c3 chore: dump contents
2024-11-21T13:36:43.9646585Z ##[section]Finishing: Checkout maastro/renovate-config@feature/debug to s
2024-11-21T13:36:43.9675028Z ##[section]Starting: Install GitVersion
2024-11-21T13:36:43.9681409Z ==============================================================================
2024-11-21T13:36:43.9681573Z Task         : Setup GitVersion Task
2024-11-21T13:36:43.9681663Z Description  : Easy Semantic Versioning (https://semver.org) for projects using Git
2024-11-21T13:36:43.9681777Z Version      : 3.0.3
2024-11-21T13:36:43.9681867Z Author       : GitTools Contributors
2024-11-21T13:36:43.9681956Z Help         : See the [documentation](https://gitversion.net/docs/) for help
2024-11-21T13:36:43.9682090Z ==============================================================================
2024-11-21T13:36:44.4372254Z Running on: 'Azure Pipelines'
2024-11-21T13:36:44.4374959Z Disable Telemetry
2024-11-21T13:36:44.4474428Z --------------------------
2024-11-21T13:36:44.4476487Z Acquiring GitVersion.Tool for version spec: 6.x
2024-11-21T13:36:44.4477289Z --------------------------
2024-11-21T13:36:44.4484844Z Querying tool versions for GitVersion.Tool@6.x 
2024-11-21T13:36:45.1763146Z Found matching version: 6.0.5
2024-11-21T13:36:45.1800056Z Command: dotnet tool install GitVersion.Tool --tool-path /home/vsts/work/_temp/1117659b-cc69-4e9b-8900-ffd795b61e95 --version 6.0.5
2024-11-21T13:36:49.1978921Z --------------------------
2024-11-21T13:36:49.1979349Z GitVersion.Tool version: 6.0.5 installed.
2024-11-21T13:36:49.1980406Z --------------------------
2024-11-21T13:36:49.1983314Z Prepending /opt/hostedtoolcache/GitVersion.Tool/6.0.5 to PATH
2024-11-21T13:36:49.1986907Z Updated PATH: /opt/hostedtoolcache/GitVersion.Tool/6.0.5:/snap/bin:/home/vsts/.local/bin:/opt/pipx_bin:/home/vsts/.cargo/bin:/home/vsts/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/vsts/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
2024-11-21T13:36:49.1994272Z Set GITVERSION_PATH to /opt/hostedtoolcache/GitVersion.Tool/6.0.5
2024-11-21T13:36:49.2000182Z GitVersion installed successfully
2024-11-21T13:36:49.2143062Z ##[section]Finishing: Install GitVersion
2024-11-21T13:36:49.2164621Z ##[section]Starting: CmdLine
2024-11-21T13:36:49.2169364Z ==============================================================================
2024-11-21T13:36:49.2169485Z Task         : Command line
2024-11-21T13:36:49.2169558Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2024-11-21T13:36:49.2169684Z Version      : 2.246.1
2024-11-21T13:36:49.2169752Z Author       : Microsoft Corporation
2024-11-21T13:36:49.2169847Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2024-11-21T13:36:49.2169956Z ==============================================================================
2024-11-21T13:36:49.4162152Z Generating script.
2024-11-21T13:36:49.4197009Z ========================== Starting Command Output ===========================
2024-11-21T13:36:49.4210659Z [command]/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/9c7ac416-597b-473d-bd6d-f158946327eb.sh
2024-11-21T13:36:49.4280003Z Structure of work folder of this pipeline:
2024-11-21T13:36:49.4324927Z /home/vsts/work/1/s/GitVersion.yml
2024-11-21T13:36:49.4325200Z Build.ArtifactStagingDirectory:
2024-11-21T13:36:49.4355799Z Build.BinariesDirectory:
2024-11-21T13:36:49.4377318Z Build.SourcesDirectory:
2024-11-21T13:36:49.4394659Z /home/vsts/work/1/s/GitVersion.yml
2024-11-21T13:36:49.4436555Z 
2024-11-21T13:36:49.4494442Z ##[section]Finishing: CmdLine
2024-11-21T13:36:49.4513880Z ##[section]Starting: Determine version with GitVersion
2024-11-21T13:36:49.4518434Z ==============================================================================
2024-11-21T13:36:49.4518572Z Task         : Execute GitVersion Task
2024-11-21T13:36:49.4518654Z Description  : Easy Semantic Versioning (https://semver.org) for projects using Git
2024-11-21T13:36:49.4518777Z Version      : 3.0.3
2024-11-21T13:36:49.4518844Z Author       : GitTools Contributors
2024-11-21T13:36:49.4518924Z Help         : See the [documentation](https://gitversion.net/docs/) for help
2024-11-21T13:36:49.4520068Z ==============================================================================
2024-11-21T13:36:49.5809702Z Running on: 'Azure Pipelines'
2024-11-21T13:36:49.5822250Z Disable Telemetry
2024-11-21T13:36:49.5837485Z Executing GitVersion
2024-11-21T13:36:49.5887682Z Command: git -C /home/vsts/work/1/s rev-parse --is-shallow-repository
2024-11-21T13:36:49.6047657Z ##[error]GitVersion configuration file not found at /home/vsts/work/1/s
2024-11-21T13:36:49.6085353Z ##[section]Finishing: Determine version with GitVersion
2024-11-21T13:36:49.6106459Z Skipping step due to condition evaluation.
Evaluating: SucceededNode()
Result: False

2024-11-21T13:36:49.6141826Z Skipping step due to condition evaluation.
Evaluating: and(succeeded(), eq(variables['isMain'], True))
Expanded: and(False, eq(variables['isMain'], True))
Result: False

2024-11-21T13:36:49.6166234Z ##[section]Starting: Checkout maastro/renovate-config@feature/debug to s
2024-11-21T13:36:49.6169979Z ==============================================================================
2024-11-21T13:36:49.6170126Z Task         : Get sources
2024-11-21T13:36:49.6170236Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2024-11-21T13:36:49.6170353Z Version      : 1.0.0
2024-11-21T13:36:49.6170447Z Author       : Microsoft
2024-11-21T13:36:49.6170524Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2024-11-21T13:36:49.6170649Z ==============================================================================
2024-11-21T13:36:50.0208790Z Cleaning any cached credential from repository: maastro/renovate-config (Bitbucket)
2024-11-21T13:36:50.0331745Z ##[section]Finishing: Checkout maastro/renovate-config@feature/debug to s
2024-11-21T13:36:50.0460234Z ##[section]Starting: Finalize Job
2024-11-21T13:36:50.0497740Z Cleaning up task key
2024-11-21T13:36:50.0498676Z Start cleaning up orphan processes.
2024-11-21T13:36:50.1412744Z ##[section]Finishing: Finalize Job
2024-11-21T13:36:50.1492591Z ##[section]Finishing: Release configuration

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions