Closed s33kman closed 4 years ago
Hi @bullrox,
can you elaborate a little more on your concrete requirement? I might be able to provide you a better answer depending on what you're trying to achieve.
Which stage would you like to enable/disable in which conditions (and why)?
In general, you can inspect how it is decided if a stage is run in initStageSkipConfiguration
.
Kind regards
Florian
Hi @fwilhe ,
I would like to skip the 'Quality Checks' stage as it throws a Connection Timeout Exception which causes an unstable pipeline run.
Thus I am wondering if I can configure 'pipeline_config.yml' or any other config file in a way to skip the execution of certain pipeline stages.
Hi @bullrox, I'm not aware of any issues with api.sap.com as of now. Do you observe this issue longer?
We don't have an option to skip the quality checks of the pipeline as we consider them to be important. I understand that it is bad if the pipeline fails because of availability issues, but my guess would be that it should work if you retry. At least my quick check showed that api.sap.com responds as desired.
Hi @bullrox, do you still experience issues with that matter?
With the latest release you can either skip individual quality checks (https://github.com/SAP/cloud-s4-sdk-pipeline/blob/master/configuration.md#s4sdkqualitychecks -> disabledChecks) or use extensibility to configure which stages should be executed: https://sap.github.io/jenkins-library/extensibility/
as I can see the conditional checks if the stage will be executed:
Is there a setting which can be used for skipping a certain stage (For example in the pipeline_config.yml)?