Tryng to use wild card on artifacts
I have a project with some nuget packages, but i want to deploy only one of them.
In my file .yml I configured the artifacts configuration as:
artifacts:
- path: Vtex.CacheCow.*.nupkg
name: nuget
It has the name of the nuget package that i want and a wild card to the version number
And at deploy tag I am referencing as:
deploy:
- provider: Environment
name: myget
artifact: nuget
on:
release_tag: true
But when I build my project it still create and deploy all nuget artifacts.
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 27 Aug, 2014 03:10 PM
You should specify "artifact" on Environment settings screen, not in deployment.
What artifacts do you get on Artifacts tab of a build?
-Feodor
2 Posted by daniel.blando on 27 Aug, 2014 07:49 PM
Feodor,
I now understanding my error. I taught this artifact would temporaly overwritte the settings. I should have differents envirnmoents for this purpose.
I have all the artifacts of the project in the artifacts tab. This could fix my problem too, trying to eliminate nuspec and creating only the nupkg that i want.
Thanks
daniel.blando closed this discussion on 03 Sep, 2014 03:11 PM.