I based my continues delivery pipeline on Peter Niederwieser’s presentation.
It makes sense and business is happy with this pipeline.
The difference between my pipeline and his is that my publish binaries goes to artifactory snapshot.
I then added a release manual task between the commit stage and the acceptance stage that moves the snapshot into the artifactory release repository.
For both these tasks I use the artifactoryPublish task. The problem with this task is it does the assemble task every time before publishing. This is not ideal because I want the same artifact in snapshot to be copied to the release repository.
Is there a way that I can stop the second artifactoryPublish task from doing the assemble again or is there another way of doing this?