Help Center/
Cloud Application Engine/
Best Practices/
Interconnecting GitLab with Jenkins for Automatic Build and Deployment on CAE/
Build Verification/
Jenkins Build Triggered by GitLab
Updated on 2025-01-17 GMT+08:00
Jenkins Build Triggered by GitLab
GitLab triggers Jenkins build in either of the following methods:
- Use the configured webhook to push events and trigger Jenkins build tasks.
- Modify the file of the specified branch in the build configuration to push events and trigger Jenkins build tasks.
In this example, method 1 is used.
- Log in to GitLab and go to the code repository, for example, test-demo. Click Settings and choose Webhooks. Select Push events from the Test drop-down list in the lower right corner, as shown in Figure 1.
- Log in to Jenkins. The triggered build task is displayed in the build execution status on the left. Click the build job ID and choose Console Output to view the build output log.
- Check the build output log. If a JAR package is built, the deployment is successful, as shown in Figure 2.
- Log in to CAE.
- Choose Components to check whether the component version is updated.
Parent topic: Build Verification
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot