Help Center/ CodeArts Build/ FAQs/ General/ How Do I Fix the Submodules Checkout Error Due to a Failure to Obtain Its Revision?
Updated on 2025-10-15 GMT+08:00
How Do I Fix the Submodules Checkout Error Due to a Failure to Obtain Its Revision?
Symptoms
The error message is as follows:
1 2 3 4 5 6 7 8 9 | [2019-07-02 08:29:23.179] ERROR: Command "git submodule update --init --recursive --remote asae-feign" returned status code 1: [2019-07-02 08:29:23.179] stdout: Cloning into 'asae-feign'... [2019-07-02 08:29:23.179] [2019-07-02 08:29:23.179] Error: ERROR: Needed a single revision [2019-07-02 08:29:23.179] Unable to find current origin/develop revision in submodule path 'asae-feign' [2019-07-02 08:29:23.179] [2019-07-02 08:29:23.202] [INTERNAL] : [pluginFrame] step run failed, errorMessage: Could not perform submodule update [2019-07-02 08:29:23.250] [INFO] [Code checkout]: StagePostExecution started [2019-07-02 08:29:23.251] [INFO] [Code checkout]: StagePostExecution finished |
Cause Analysis
The directory (asae-feign is used in this example) that was checked out is incorrect. This is a Git bug.
Solution
Delete the directory from the code repository, run the git submodule update command again, and rerun the build task.
Parent topic: General
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