Skip to content

Commit d49fe24

Browse files
Merge pull request #10185 from mendix/olu-pipelines-deploy-oct25
Troubleshooting info for build timeout
2 parents 9a881c9 + 9310134 commit d49fe24

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

content/en/docs/apidocs-mxsdk/apidocs/deployment/build-api.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,10 @@ An object with the following key-value pairs:
295295
* `Description` (String) : Description of the package.
296296

297297
{{% alert color="warning" %}}
298-
For apps using SVN for version control, this call will build the specified revision even if that revision is not on the specified branch.
298+
299+
- For apps using SVN for version control, this call will build the specified revision even if that revision is not on the specified branch.
300+
301+
- For apps using Git for version control, using a short commit hash can cause timeouts with large repositories. Mendix recommends using the full commit hash
299302
{{% /alert %}}
300303

301304
##### Example

content/en/docs/deployment/mendix-cloud-deploy/deploying-to-mendix-cloud.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,23 @@ With a Free App, you can deploy your app to Mendix Cloud from Studio Pro by usin
116116

117117
* Alternatively, in the top bar of Studio Pro, click **Publish**.
118118

119-
## Deployment Status and Troubleshooting
119+
## Deployment Status
120120

121121
The [Mendix Platform Status page](https://status.mendix.com/) shows the current status of Mendix services. If you have issues with deployment, you can check the status page to see if deployment is operational (under **Mendix Services**) or if there are other Mendix issues that may be affecting your deployment. For more information, see [Mendix Cloud Status](/developerportal/deploy/mendix-cloud-status/).
122+
123+
## Troubleshooting
124+
125+
### Build Output Warning: "A Shortened Revision Hash Was Provided" During Deployment
126+
127+
When you deploy an application to Mendix Cloud from Studio Pro, you might encounter a warning in your build output stating: "`WARNING: A shortened revision hash was provided: [id] forcing the infrastructure to do a clone of the entire history`."
128+
129+
This warning indicates that a short commit hash was provided when building your deployment package, forcing the build infrastructure to perform a full clone of your repository's entire history. If your repository is large, this can significantly increase build times, potentially leading to a timeout and preventing successful deployment package creation.
130+
131+
To resolve this issue, try one of the following solutions:
132+
133+
* **For Studio Pro versions 9.12.0 – 9.16.1** – Create your deployment package directly from the Mendix Cloud Portal.
134+
{{% alert color="info" %}}
135+
This option is not available for Free or Sandbox apps.
136+
{{% /alert %}}
137+
* **Update your Mendix application** – Update your Mendix application to use Studio Pro version 9.17.x or higher.
138+
* **When using the Build API** – If your application uses Git for version control, specify a full commit hash for the `Revision` value in the [Build API](//apidocs-mxsdk/apidocs/backups-api/).

0 commit comments

Comments
 (0)