I am following these instructions for using artifacts from one step to another, but I am not seeing my artifact either in the creator or consumer step.
definitions:
steps:
- step: &dotnet-test
name: test
script:
- dotnet restore test/$SOLUTION_NAME.test.csproj
- dotnet test test/$SOLUTION_NAME.test.csproj --no-restore
- step: &nuget-dev-pack
name: Nuget Pack
script:
- dotnet pack src/$SOLUTION_NAME.csproj --configuration release --version-suffix rc.1
artifacts:
- /opt/atlassian/pipelines/agent/build/src/bin/release/*.nupkg
#Pushes all .nupkg files to the artifact server
- step: &nuget-publish
name: Nuget Publish
script:
- dotnet nuget push release/*.nupkg -k $ARTIFACTORY_NUGET_APIKEY
pipelines:
branches:
'feature/**':
- step: *dotnet-test
- step: *nuget-pack
- step: *nuget-publish
clone:
depth: full
changing the artifact path to
artifacts:
- src\bin\release\*.nupkg
resolved the issue.
I also took of the
rc.1
because it Interfered with the matching pattern
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.