mbl's Avatar


14 Jan, 2019 12:22 AM

I have a build that triggers an agent deployment through environment. The before_build.ps1 files uses the APPLICATION_PATH environment variable, but the output of that variable seems to be from the build server.

The output of the variable looks like this: C:\appveyor\projects\<project>\applications\<artifact>
I would assume it should be the remote deployment path?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 15 Jan, 2019 02:24 AM

    Ilya Finkelshteyn's Avatar

    Can you please ensure that you are using the latest version of Deployment agent. Download links are here. It should be fixed in the latest one. Please let us know how it goes.

  2. 2 Posted by mbl on 15 Jan, 2019 07:08 AM

    mbl's Avatar

    I am using deployment agent version 6.1.0.

    However i figured out what was wrong. I only had 'application_path' defined for the artifact. If i defined 'path' on the artifact, then APPLICATION_PATH gets that value in before_deploy.ps1. But then in deploy.ps1 it gets set to the actual 'application_path'.

    It all seems a little weird but at least its working now.

  3. Support Staff 3 Posted by Ilya Finkelshte... on 15 Jan, 2019 09:22 PM

    Ilya Finkelshteyn's Avatar

    Good you are unblocked. But if you describe it and expected behavior in more details, it would be great.

  4. Ilya Finkelshteyn closed this discussion on 18 Mar, 2019 09:00 PM.

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

Recent Discussions

21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM


21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM