Custom WAP artifact names

Aristarkh Zagorodnikov's Avatar

Aristarkh Zagorodnikov

20 Apr, 2015 03:45 PM


Maybe I wasn't reading the right piece of the docs, but I couldn't find how one could customze the name of the WAP artifact file. It appears to default to, but I would like to change it to include $(APPVEYOR_BUILD_VERSION) to make organizing exising artifacts easier in an S3 bucket. Is there a possibility for such setting or some fiddling with "artifacts" section should help (I tried several options to no avail, WAP projects seem to ignore it)?

- Aristarkh

  1. Support Staff 1 Posted by Feodor Fitsner on 20 Apr, 2015 05:40 PM

    Feodor Fitsner's Avatar

    Hi Aristarkh,

    Currently, there is no way to set file name for WAP Web Deploy package, but you can replace automatic packaging with your own command, kind of:

    msbuild YourWapProjectName.csproj /T:Package /P:PackageLocation="%appveyor_build_folder%\"

    then push it to artifacts:

    appveyor PushArtifact %appveyor_build_folder%\ -Type WebDeployPackage
  2. 2 Posted by Aristarkh Zagor... on 20 Apr, 2015 07:46 PM

    Aristarkh Zagorodnikov's Avatar

    Thank you for the example, Feodor.

  3. 3 Posted by rgowda on 21 Jul, 2016 04:28 PM

    rgowda's Avatar

    I was able to address a similar requirement by adding a "On build finish script" within Project --> Settings --> General

    The CMD script was:

    aws configure set AWS_ACCESS_KEY_ID <your_access_key_id>
    aws configure set AWS_SECRET_ACCESS_KEY <your_access_key>
    aws configure set default.region us-west-1

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:07 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