Open paulogodinhoaq opened 2 years ago
HI @paulogodinhoaq That is the expected behavior. Jenkinsfile is checked out in the beginning of the pipeline. After that point only the repository which is defined under multibranch pipeline config is checked out.
Describe the bug Plugin going into default behavior when changing agents. It begins without issue, checks out the Remote Pipeline and executes, but when a new agents is called in, before any pipeline action is taken, the plugin attempts to checkout the entire repo that is set in the Multibranch Pipeline, instead of the Remote one.
To Reproduce Steps to reproduce the behavior: Make a multi agent pipeline
Expected behavior The defined remote pipeline to be downloaded and used on all agents.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Is there something I may be missing? I will try to solve this by forwarding the actions to a secondary job.