LiorK
LiorK

Reputation: 1680

How can I use just created build in downstream job

I have 2 jobs in Jenkins:

  1. Build and run unit tests
  2. (Build and) run integration tests

Job-2 is a Downstream project of Job-1.

Job-1 initiates build and run unit tests on it. Job-2 initiates build as well and run integration tests.

I would like to change that, and make Job-2 to run the tests on the result build that was initiated by Job-1.

Upvotes: 0

Views: 216

Answers (1)

Vadim Kotov
Vadim Kotov

Reputation: 8284

You could use Copy Artifact Plugin and use Job-1 artifacts from Job-2 to run some tests on them. Refer to this post for more information. Hope it will help.

Upvotes: 2

Related Questions