Environment deployment, how to specify artifact
Solution has multiple web projects. I want to deploy a specific project (artifact) with "Environment" deployment. How do I specify which artifact to deploy? Just add "artifact: name_of_artifact" to "on:" section of Environment deployment in YAML?
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
1 Posted by Ilya Finkelshte... on 13 Feb, 2017 06:25 PM
Hello,
You have to set artifact name in
Artifact to deploy
which is WebDeploy settings in Environment UI. If you need more control from YAML, you can set some variable like$(artifactName)
inArtifact to deploy
, and then inappveyor.yml
do the following:You proposal with
on
section will not work there, this is conditions section, which mean that deployment will start when value of variableartifact
isname_of_artifact
.Ilya.
trygve closed this discussion on 01 Apr, 2017 07:27 PM.