CT Jenkins plugin manages projects based on the source root defined during project creation. Ensure the source root aligns with the top-level path of the source in the Git repository.
Steps to Integrate CT Jenkins plugin with Git Source Code
- Commit and push source code.
- If the project includes multiple source roots, ensure all source roots are managed in the same Git repository.
- Configure Git in Jenkins.
- In the [Source Code Management] section of the Jenkins project, enter the following details.
- Git Repository URL
- Source Top Level Path
- Branch Name
- In the [Source Code Management] section of the Jenkins project, enter the following details.
Example 1) Entire Git Repository Matches the Source Roots of the CT 2024.12 Project
Example 2) Specific Directory(project/src
) Matches the Source Roots of the CT 2024.12 Project
Need more help with this?
Don’t hesitate to contact us here.