APPVEYOR_PROJECT_NAME vs APPVEYOR_PROJECT_SLUG

joel.mccune's Avatar

joel.mccune

24 Aug, 2017 03:39 PM

Hi

What is the difference between $env:APPVEYOR_PROJECT_NAME and $env:APPVEYOR_PROJECT_SLUG?

Thanks

  1. 1 Posted by Ilya Finkelshte... on 24 Aug, 2017 08:19 PM

    Ilya Finkelshteyn's Avatar

    $env:APPVEYOR_PROJECT_NAME is more like display name, while $env:APPVEYOR_PROJECT_SLUG is part of URL. Project name can duplicate within account, while slug not. Name does not have to be URL-friendly and can for example contain spaces. You can change name in general tab in UI. For now you need to request us to change the slug, though we will expose this soon (GH issue). If you create second project against the same repository, AppVeyor will by default assign the same name, but slug will be the same + random characters.

  2. 2 Posted by joel.mccune on 24 Aug, 2017 08:23 PM

    joel.mccune's Avatar

    Thanks

  3. joel.mccune closed this discussion on 24 Aug, 2017 08:23 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