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