All builds are failing. It seems that the version number cannot be ready anymore

michael's Avatar

michael

13 Sep, 2018 01:30 PM

Hi there,

We just realized that an issue was affecting all our nightly build (for the past two weeks). We had no activities on those repos that's why we did not pay too much attention

Example

https://ci.appveyor.com/project/open-systems-pharmacology-ci/pk-sim...

The version number seems to be suddenly corrupt. It started 14 days ago and is consistent with all builds we have

The error message says
Error parsing appveyor.yml: "version" cannot contain request path invalid characters: < > * % & : \ (Line: 7, Column: 10)

Do you know what's going on?

Thanks,
Michael

  1. Support Staff 1 Posted by Ilya Finkelshte... on 13 Sep, 2018 04:32 PM

    Ilya Finkelshteyn's Avatar

    Sorry for the trouble. I see your temporary fix. Please update your YAMLs to this format: $(app_version).{build} instead of %app_version%.{build}.

    Problem is that we started enforcing RequestPathInvalidCharacters at YAML and UI level (otherwise IIS throws YSOD when opening build URL). Apparently it conflicts with CMD-style environment variables. But MSBUILD-style ones still OK.

  2. 2 Posted by michael on 13 Sep, 2018 06:37 PM

    michael's Avatar

    ok thanks for the feedback Ilya. I'll revert those changes and use $()
    instead.
    The intent is to actually have app_version set globally for more than one
    project. Is it possible? I saw some discussion on a global.yml somewhere
    but could not find any hints on how to set it up
    See https://github.com/appveyor/ci/issues/1068#issuecomment-368019463

    Cheers,
    Michael

  3. Support Staff 3 Posted by Ilya Finkelshte... on 13 Sep, 2018 07:25 PM

    Ilya Finkelshteyn's Avatar

    Global YAML is not implemented yet, but coming. I afraid to give specific promises but hopefully in next couple of months. That GH issue you refer is used to track it. For now your approach is the right one.

  4. Ilya Finkelshteyn closed this discussion on 18 Sep, 2018 05:31 AM.

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