I have created a bunch of Local deployment pipeline jobs, these jobs do things like remove an existing container, build a service locally, build a docker image, run the containe
I maintain the jobs in a bootstrap folder together with configs etc.
To add a job (i.e. seedjob) I need to add the following to the Dockerfile:
Dockerfile
# copy seedjob COPY bootstrap/seedjob.xml /usr/share/jenkins/ref/jobs/seedjob/config.xml