![]() Once deleted, Keptn will no longer send requests to the endpoint. Note that deleting a webhook is permanent and cannot be reversed. services occurred by 1 Opening a command-line window on your local machine. To delete a webhook, click on the trash can icon next to the subscription. Now that we have the webhook, let's configure the pipeline using Jenkins. This will reference the secret value containing the sensitive data of your webhook URL: Cleanup Reference the secret to add the webhook identifier at the end of the URL by clicking on the key icon, select the secret jenkins-secret and the key my-pipeline-secret.Once the above-configured event gets fired, the Jenkins pipeline has to be triggered. Go to Uniform page > Uniform, select the webhook-service, and click the Add subscription button.įor this integration, we would like trigger a Jenkins pipeline when a test task in the dev and staging stage is triggered. To create a webhook integration, a subscription needs to be created: This is a step by step guide on how to set up Jenkins on your local machine and connect to it from your GitLab instance. Select “Build triggers” and tick “Trigger builds remotely”Ĭreate an authentication token (e.g., using a local password manager) - you will need this token later when creating the webhook in KeptnĪlso note down the URL shown below (e.g., ) - you will need it later when creating the webhook in KeptnĬreate a secret for storing the Jenkins authentication token Select the pipeline you want to call, and click on “Configure”. ![]() Open your Jenkins UI, log in as an administrator, and configure the pipeline you want to call This goes way beyond our documentation, therefore we suggest reaching out to your Jenkins administrator. Note: Keptn needs to reach your Jenkins installation (either directly or via a proxy). Note: The instructions on this page assume that you do not have jmeter-service installed. You can even provide information back to Keptn (e.g., test.finished with result=fail). In addition, with the optional keptn-jenkins-library With a Jenkins integration, you can call existing Jenkins Pipelines from Keptn. Demo: Quality gate evaluation using metrics from another tool.
0 Comments
Leave a Reply. |