Troubleshooting deployment pipeline failure issues
To troubleshoot failure due to incorrect parameter values
If a pipeline fails due to incorrect parameter values, perform the following steps:
- On the Jenkins UI, navigate to the pipeline where failure occurred.
- In the pipeline where the failure occurred, in the Build History pane, select the latest build, and click Console Output.
- On the Console Output page, check the logs to find the reason for the failure.
- Navigate to the HELIX_ONPREM_DEPLOYMENT pipeline.
- From the Build History pane, select the latest job, and click Rebuild.
- Specify the correct parameter values.
For example, if the HELIX_PLATFORM_DEPLOY pipeline fails due to incorrect FTS_ELASTICSEARCH_PORT value, specify the correct FTS_ELASTICSEARCH_PORT value. - Select the HELIX_GENERATE_CONFIG pipeline.
Make sure that you do not select any other pipeline. - Click Rebuild.
- Rerun the failed pipeline.
- Navigate to the pipeline where the failure occurred.
- In the failed pipeline, in the Build History pane, select the latest build, and click Rebuild.
- On the Rebuild page, select the ReRun check box , and click Rebuild.
The pipeline starts running from the instance where it stopped due to the failure.
To troubleshoot failure due to environment issues
If a pipeline fails due to environment issues such as Kubernetes cluster not reachable, PVC not mounted successfully, and insufficient resources to start a container, perform the following steps:
In your Jenkins server, run the following command to identify the issue:
kubectl get events -n <Innovation Suite namespace>- Debug and fix the issue.
- Rerun the failed pipeline.
- On the Jenkins UI, navigate to the pipeline where the failure occurred.
- In the failed pipeline, in the Build History pane, select the latest build, and click Rebuild.
- On the Rebuild page, select the ReRun check box , and click Rebuild.
The pipeline starts running from the instance where it stopped due to the failure.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*