IBM DevOps Pipeline How to Access Artifacts from Previous Job

0 votes

I have a build stage with two build jobs, a frontend and a backend job. How do I directly access the Build Archive Directory of the frontend job from the backend job's build script?

Jul 5, 2018 in Jenkins by Hannah
• 18,570 points
466 views

1 answer to this question.

0 votes

Currently, both jobs inside a stage are run in complete separate environments. They do not have access to the artifacts of the other jobs in the stage. The way to get around this is to create a new stage for the 'backend' job, and then set the input for that stage to be the build artifacts from the 'frontend' job

Use the curl command from second job

https://$USERNAME:$PASSWORD@hub.jazz.net/pipeline/<username>/<projectName>/<stageUUID>/<jobUUID>/latest?download=all

answered Jul 5, 2018 by Kalgi
• 52,360 points

Related Questions In Jenkins

0 votes
1 answer

How to run Jenkins job from remote system?

Hi@akhtar, You can run your job from remote ...READ MORE

answered May 13, 2020 in Jenkins by MD
• 95,440 points
2,576 views
0 votes
1 answer

How to build one Job from Jenkins CLI?

Hi@akhtar, To build a job from Jenkins CLI, ...READ MORE

answered Jul 7, 2020 in Jenkins by MD
• 95,440 points
1,761 views
0 votes
1 answer

How to create one Job in Jenkins from CLI?

Hi@akhtar, You need to download the jenkins-cli.jar file ...READ MORE

answered Jul 7, 2020 in Jenkins by MD
• 95,440 points
3,437 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,459 views
+2 votes
1 answer
+5 votes
4 answers

How can I run a Jenkinsfile from a particular folder?

Consider the below points: The Freestyle project ...READ MORE

answered Mar 27, 2018 in Jenkins by anonymous
23,595 views
+1 vote
3 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP