I am able to configure Jenkins declarative pipeline, which is being executed for my git project1 repo. This is being done through the standard Jenkins configuration of the targeted git repo.
But now I need to execute second "git clone" operation for my project2, run some script in project2 and then Jenkins needs to continue to run in project1. How this can be achieved? I was only working until now solely in project1 repo. But now I need to clone project2 in the same level where project1 is cloned (NOT within the project1)
--project1_repo
-->root/base/files
--project2_repo
-->root/base/files
and I need to run some script in project2 before Jenkins continues build for project1. Of course only trigger of the job is once the code is being pushed to the project1.
Please send me some instructions how this can be solved.