Is there a way to link back to deployment console from deploy.ps1?

brian.donahue's Avatar


20 Jul, 2015 09:22 PM

I am using a deploy.ps1 to ping Slack and notify of app name and machine name that was successfully deployed until this is supported by Appveyor :) I'm wondering if I can easily include a link back to the deployment console in case people want to see what files were deployed, etc? Talking about url like this:<user>/<project>/deployment/<??-id>/job/<??-id>

The two variables with question marks I have not been able to find. I tried these:
APPVEYOR_PROJECT_ID - Unique system ID of project
APPVEYOR_PROJECT_NAME - Project display name
APPVEYOR_PROJECT_SLUG - Project slug that you can see in URL, e.g. myproject-123
APPVEYOR_BUILD_ID - Unique system ID of build
APPVEYOR_BUILD_NUMBER - Build number of deploying artifact

But I think I need deployment/environment specific vars, not these? I outputted these to my console and none matched the url I needed.

  1. Support Staff 1 Posted by Feodor Fitsner on 21 Jul, 2015 01:03 AM

    Feodor Fitsner's Avatar

    Job id is in APPVEYOR_JOB_ID, but there is no var for "deployment id".

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.

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

Keyboard shortcuts


? 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