11.2.4.2.2 Create a Jenkins Server with a Git-Based Build Job
To create a Jenkins server preconfigured with a build job to build against your git repository:
cicdw jenkins-server create --with-git-job origin
This will extract the git server information associated with the git remote named "origin" for your local git repository. For this to work, the project path (default is the current folder) must point to a valid MPLAB X IDE folder that contains a Jenkinsfile and is checked into a remote git repository.
Note: If you don't already have a
Jenkinsfile associated with your project, use the CI/CD Wizard to generate the files for
you. See 11.2.3 Getting Started with Jenkins.