Issue
-
Is there any place where the "develop" branch is configured as a default branch?
Environment
- Liferay Cloud
Resolution
-
The environment variable LCP_CI_DEPLOY_BRANCH is read on the
ciservice is responsible for the configured branch. One can change the LCP_CI_DEPLOY_BRANCH value (default isdevelop)
-
Why the default is develop?
The entrypoint script for Jenkins in theciservice is responsible for the default branch. If no value is provided, it defaults to “develop”.
if (env.BRANCH_NAME == env.LCP_CI_DEPLOY_BRANCH) {
deployToCloud(deployBranch: env.LCP_CI_DEPLOY_BRANCH, deployTarget: env.LCP_CI_DEPLOY_TARGET)
}