We had a pipeline in a GitHub free repository.
Once checked that it is working as expected we are moving the repo to a GH Enterprise org.
The problem is that, even when in the new pipeline configuration we only use the URL for the new Enterprise repo, in the log we can see that, during the pipeline initiation, the URL for the free repo is also shown:
The main problem is that during the pipeline’s execution, the pipeline´s main Jenkins file is used (as shown in the second line of the screenshot), but the submodule files called from that main file are retrieved from the Free repo instead of from the Enterprise one.
I don´t know why the Free repo URL is used in the pipeline, as that URL is not defined anywhere in the Pipeline configuration.
There are just two places in the Pipeline configuration when the repo URL is used: GitHub project, and Repository URL, and both are using the Enterprise repo URL. Also, the Credentials used are for the Enterprise repo.
What is wrong here and why it is using a URL that is not defined in the pipeline?
