Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Version 44

Compare
Choose a tag to compare
@fwilhe fwilhe released this 03 Nov 17:26
· 11 commits to master since this release

v44

⚠️ Breaking changes

Backend & Frontend Integration Tests

Due to alignments with project "Piper" the stages backendIntegrationTests and frontendIntegrationTests have been merged into the project "Piper" stage integration.
Please move any existing configuration for the stages backendIntegrationTests and frontendIntegrationTests to the configuration of the stage integration.

For example:

stages:
- backendIntegrationTests:
+ integration:
    retry: 2
    credentials:
      - alias: 'ERP'
        credentialId: 'erp-credentials'
      - alias: 'SF'
        credentialId: 'successfactors-credentials'

Improvements

Conditional Execution of Stages

It is possible to consistently enable or disable all conditional stages with the config key runInAllBranches.
The stages productionDeployment, artifactDeployment, compliance, and security are by default disabled for non-productive branches.
They can be enabled also for non-productive branches by configuring the respective stage with runInAllBranches.
Example .pipeline/config.yml file snippet to enable security also in non-productive branches:

stages:
  security:
    runInAllBranches: true

Similarily, if there are stages which you do not want to run by default also in your non-productive branches, you can disable them like this:

stages:
  endToEndTests:
    runInAllBranches: false

This would then deviate from the default behavior and run the End to End Tests stage only for the productive branch.

Disable Usage of Deprecated Jenkins Plugins

The checksPublishResults step uses some Jenkins plugins which have been deprecated in favor of warnings-ng.
When replacing the SAP Cloud SDK Pipeline specific build stage with the more generic build stage of project "Piper", those plugins became a requirement of SAP Cloud SDK Pipeline, which was not intended.
Due to backwards compatibility concerns in project "Piper" general purpose pipeline, the old plugins are still available, but they have been disabled by default in SAP Cloud SDK Pipeline so that having those plugins installed is not required anymore.

If you need any of the old plugins, see the docs of the checksPublishResults step to enable them in your pipeline config file.