Tryng to use wild card on artifacts

daniel.blando's Avatar

daniel.blando

26 Aug, 2014 10:34 PM

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.

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Aug, 2014 03:10 PM

    Feodor Fitsner's Avatar

    You should specify "artifact" on Environment settings screen, not in deployment.

    What artifacts do you get on Artifacts tab of a build?

    -Feodor

  2. 2 Posted by daniel.blando on 27 Aug, 2014 07:49 PM

    daniel.blando's Avatar

    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

  3. daniel.blando closed this discussion on 03 Sep, 2014 03:11 PM.

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

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM