APPVEYOR_BUILD_FOLDER is striped of "/"

michael's Avatar

michael

10 Dec, 2021 11:00 PM

Hi there,
This is a weird one and I am not sure what is happening. Some of our build scripts started to fail a few days ago

We realized that the root cause seems to be that the env variable APPVEYOR_BUILD_FOLDER returns a path without "/"

Please see here
https://ci.appveyor.com/project/open-systems-pharmacology-ci/ospsui...

In this line, we are printing to the console the variable mentioned above
it returns
C:projectsospsuite-r

Instead of
C:/projects/ospsuite-r

Any idea what is going on? Is there a way to retrieve the build_folder in any other way? For now we have hard coded the build folder to make the build pass but this is not too clean

Thanks
Michael

  1. 1 Posted by michael on 28 Dec, 2021 03:26 PM

    michael's Avatar

    Hi there,

    Any feedback on this?
    Thanks
    Michael

  2. Support Staff 2 Posted by Feodor Fitsner on 30 Dec, 2021 06:41 PM

    Feodor Fitsner's Avatar

    That part of build agent has never been changed. How do you access/print that env variable? Can you do a simple repro in a separate repository?

  3. Feodor Fitsner closed this discussion on 01 Mar, 2022 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac