Issue
The Mendix Pipeline fails during the checkout step with the following error.
Project: project_name
Branch: Main line
Getting temporary access ...
Cloning repository...
Revision: null
warning: Could not find remote branch Main line to clone.
fatal: Remote branch Main line not found in upstream origin Skipping step because a previous step failedEnvironment
- Applications hosted in Mendix Cloud
- Version Control
Cause
This error typically occurs when there is a mismatch between the branch name specified in the pipeline configuration and the actual branch names in the Git repository. It can also happen if the repository has recently migrated from SVN to Git, and the branch structure has changed.
Solution/Workaround
To resolve this issue, follow these steps:
- Verify that the branch name in the pipeline configuration matches exactly with the branch name in your Git repository.
- If the application has recently migrated from SVN to Git, ensure that the branch structure is correctly set up in Git.
- Create a new pipeline for the project:
- Log in to the Mendix Portal
- Navigate to the project
- Go to the Environments section
- Click on Design a Pipeline
- Configure the new pipeline with the correct branch name
- After creating the new pipeline, attempt to run it.
If the issue persists after creating a new pipeline, please contact Mendix Support for further assistance.
Internal information related
- 259778
Additional information
- Mendix documentation: Deploy and Manage App in Mendix Cloud
- Related KBA: How to migrate your project from SVN to Git
0 Comments