I'm currently learning to use the Jenkins build pipeline. I have one pipeline where I archive the artifact of the build like this:
stage("Build") { gitlabCommitStatus(name: "Build") {
/*Build my program and zip it*/
archiveArtifacts artifacts: 'Debug.7z', onlyIfSuccessful: true
}}
Now I want to use this artifact in another pipeline, but I can't find a command to download a archived artifact into my new pipeline. Note that I do not want to use the artifact in another stage, but in a completely different pipeline of a different build project.