Create Jenkinsfile

MSAL

Creates a simple base Jenkinsfile in Groovy for a Declarative Pipeline - located in the root of the project.

org.openrewrite.jenkins.CreateJenkinsfile
mod run . --recipe=org.openrewrite.jenkins.CreateJenkinsfile

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Create text file
  2. Parse Jenkinsfile as Groovy