


Hi Team,
Can you please suggest me how to use CM_DISABLE_BUILD_REUSE variable if production pipeline fails after stage deployment.
Thanks & Regards
Veera
Views
Replies
Sign in to like this content
Total Likes
Hi,
You can check below link for additional details
If desired, the reuse behavior can be disabled for specific pipelines by setting the pipeline variable CM_DISABLE_BUILD_REUSE
to true
. If this variable is set, the commit hash is still extracted and the resulting artifacts will be stored for later use, but any previously stored artifacts will not be reused. To understand this behavior, consider the following scenario.
becdddb
. The execution is successful and the resulting artifacts are stored.CM_DISABLE_BUILD_REUSE
variable is set.becdddb
, they are not reused due to the CM_DISABLE_BUILD_REUSE
variable.f6ac5e6
. The execution is successful and the resulting artifacts are stored.CM_DISABLE_BUILD_REUSE
variable is deleted.f6ac5e6
, those artifacts are reused.
Thanks Ravi, I have seen the above link and that means I should not set CM_DISABLE_BUILD_REUSE to pipeline.
There is no variable set to pipeline and if I try to redeploy the same code multiple times without changing code, it is still doing build and unit testing -> deploying to environments.
Can you please suggest me how to avoid multiple times building the same code and just deploy the code.
Thanks & Regards
Veera