62. How to add a Template to your PL instance

  • Go to Jenkins.

  • On the upper left click on "New Element" to create a new Jenkins job.

  • Chose a name for the job such as "MTS-template-seed-job". The job type has to be "Pipeline". Click on ok.

newjenkinsjob
  • Scroll down to the bottom of the job creation page where you will find the "Pipeline" section.

    • Switch to "Pipeline script from SCM".

    • Set "SCM" to "Git".

    • Set "Repository URL" to: https://github.com/devonfw/production-line.git

    • Credentials can be left empty, because the repository is public.

    • Set "Script Path" to the template that you want to use e.g. "devon4j-mts/Jenkinsfile".

pipelinesettings
Last updated 2021-03-17 08:55:56 UTC