Branch Regexallows users to easily switch between branches matching the configured Regex before triggering the build pipeline. In case of
Branch Fixed, users cannot change the branch name in ci-pipeline unless they have admin access for the app. So, if users with
Build and Deployaccess should be allowed to switch branch name before triggering ci-pipeline,
Branch Regexshould be selected as source type by a user with Admin access.
feature-*, then users can trigger from branches such as
Info: If you choose "Pull Request" or "Tag Creation" as the source type, you must first configure the Webhook for GitHub/Bitbucket as a prerequisite step.
Note(a) You can provide pre-build and post-build stages via the Devtron tool’s console or can also provide these details by creating a file
devtron-ci.yamlinside your repository. There is a pre-defined format to write this file. And we will run these stages using this YAML file. You can also provide some stages on the Devtron tool’s console and some stages in the devtron-ci.yaml file. But stages defined through the
Devtrondashboard are first executed then the stages defined in the
devtron-ci.yamlfile.(b) The total timeout for the execution of the CI pipeline is by default set as 3600 seconds. This default timeout is configurable according to the use case. The timeout can be edited in the configmap of the orchestrator service in the env variable as
Linked CI Pipelinecan be used, and only one image will be built for multiple applications because if there is only one build, it is not advisable to create multiple CI Pipelines.