We currently have a build chain which builds the app, runs unit tests, deploy to a pre-deploy test, then running integration tests and cucumber ui tests towards the pre deployed app.
Since it's kind of stupid to just upload every successfull artifact to a repository (nexus in this case), we want to automatically pin the whole chain as a "deliverable" as a last step in the last job.
How can we achieve that functionality? I know there is a REST API thing you can run, but does that pin the whole chain? And, surely, for this kind of basic functionality there should be a plugin of some sort.
I was looking for a build step -> pin build chain or something.
Any ideas and suggestions?