11.2.4.2.3 Create a Jenkins Server with a Local Build Job

To create a Jenkins server preconfigured with a build job to build against your local folder:

cicdw jenkins-server create --with-local-job

When triggered, the build job will look for a Jenkinsfile on a local folder on your computer. Use the [path] setting when starting the server to provide the local folder path (this is not a production server mode).

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.