No artifacts being created with yml
I have a yml that I am trying to get building my project correctly. The project builds, but not artifacts are being created. I do get two artifacts when I use publish_wap: true in the build block (I have two web projects in the solution), but nothing when I try to use the artifacts block. Here is my yml. I have one solution with two web projects and a number of other class library projects. Any thoughts on why artifacts are not being created? Attached is the latest log as well.
#---------------------------------#
# general configuration #
#---------------------------------#
version: 1.0.{build}
skip_tags: true
# Skipping commits with particular message or from user
# skip_commits:
# message: /Created.*\.(png|jpg|jpeg|bmp|gif)/ # Regex for matching commit message
# author: John # Commit author's username, name, email or regexp maching one of these.
#---------------------------------#
# environment configuration #
#---------------------------------#
os: Windows Server 2012
clone_folder: c:\projects\source
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
# configuration: Debug
#build:
#project: Source/MySolution.sln # path to Visual Studio solution or project
#publish_wap_xcopy: true # package Web Application Projects (WAP) for XCopy deployment
#publish_wap: true # package Web Application Projects (WAP) for Web Deploy
#verbosity: minimal
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: Deployments\MySolution_Deployment.zip
name: MySolution_Deployment
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy: off
- appveyor_log.txt 45.8 KB
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
Support Staff 1 Posted by Feodor Fitsner on 15 Oct, 2014 06:11 AM
So, the
path
inartifacts
section is relative path. Make sure that zip file exists after build phase. You can try listing the contents ofDeployments
folder by adding:to make sure the file is there.
2 Posted by kennydust on 18 Nov, 2014 09:53 PM
sorry to hijack. is there an after_package_artifact event?
the after_build occurs first, before artifacts are generated from what I can tell.
Support Staff 3 Posted by Feodor Fitsner on 19 Nov, 2014 12:18 AM
There is a number of hooks at the end of build:
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.