Create a pipeline project in Jenkins
Create a pipeline projects in Jenkins to add the endpoint URL in Jenkinsfile that is generated in your ServiceNow instance and enable webhooks to connect with your ServiceNow instance.
Before you begin
- Ensure that you install Jenkin in the local environment.
- Ensure that Maven and GitHub are installed in the Jenkins account.
- Ensure that these plugins are installed in the Jenkins account.
- Pipeline
- Git plugin
- Git client
- Http request
- Credentials
- Warnings
- Coverage
- In GitHub, generate a classic personal access token and copy the value.Ensure that you select the scopes for the personal access token.
- repo
- repo:status
- repo_deployment
- public_repo
- repo:invite
- security_events
- write:packages
- read:packages
For more information about creating a classic personal access token, see Creating a personal access token (classic) in GitHub Docs.
For the list of supported events, see the Spoke triggers section.
- repo
- Role required: admin