According to Björn's suggestion, he is suggesting you
not to use a single Jenkinsfile if you would like to run two jobs on two instances of Jenkins on the same server. However, if you are using the two instances on the same server to say for example
run a frontend and a backend for a web app, you can probably achieve this with multiple Docker containers using a single Jenkinsfile for a Pipeline by following the suggested instructions at
https://www.jenkins.io/doc/book/pipeline/docker/#using-multiple-containers.
However, if you really want more tailored suggestions the community can offer, you will need to provide us with more information about your setup, as well as what is your use case for. Otherwise we can only guess and throw (perhaps not 100% relevant) ideas
at you.
Since you are using Jenkins for a work project, I think it may be a good idea to ask around to see how this is usually set up at your company from someone who has done it before, or from some documentation. This will help make sure that you are following. the
best practices established at your company.