devenv /upgrade works by local powershell command but failed with gitlab job

213 Views Asked by At

I'm trying to update a solution from vs10 to vs 2017 by line command devenv /upgrade from a job gitlab.

The weird thing is that it works fine by launching it locally with powershell but fail with gitlab job

Example

devenv.exe "Src\GenATC.sln" /upgrade 

the job at gitlab :

code-migration:
  stage: migration
  allow_failure: true
  tags:
    - WINDOWS
    - VS2013
  only:
    - "master"
  artifacts:
    name: Executable
    when: on_success
    expire_in: 1 week
  script:
    - '& "path to devenv\devenv.exe" "Src\GenATC.sln" /upgrade'
0

There are 0 best solutions below