github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/documentation/docs/steps/abapAddonAssemblyKitReleasePackages.md (about)

     1  # ${docGenStepName}
     2  
     3  ## ${docGenDescription}
     4  
     5  ## Prerequisites
     6  
     7  * The credentials to access the AAKaaS (Technical Communication User) must be stored in the Jenkins Credential Store
     8  * This step needs the names of the packages which should be released. The packages needs to be in status "L"ocked. If they are already in status "R"eleased it is fine, then the release will just not be executed. However this step will end with an error if a package has status "P"lanned.
     9  * The package names are taken from the addonDescriptor in the commonPipelineEnvironment together with the status of the packages.
    10  * The step [abapAddonAssemblyKitRegisterPackages](https://sap.github.io/jenkins-library/steps/abapAddonAssemblyKitRegisterPackages) will set the status of the packages to "L"ocked and writes the needed data to the commonPipelineEnvironment.
    11  
    12  A detailed description of all prerequisites of the scenario and how to configure them can be found in the [Scenario Description](https://www.project-piper.io/scenarios/abapEnvironmentAddons/).
    13  
    14  ## ${docGenParameters}
    15  
    16  ## ${docGenConfiguration}
    17  
    18  ## ${docJenkinsPluginDependencies}
    19  
    20  ## Examples
    21  
    22  ### Configuration in the config.yml
    23  
    24  The recommended way to configure your pipeline is via the config.yml file. In this case, calling the step in the Jenkinsfile is reduced to one line:
    25  
    26  ```groovy
    27  abapAddonAssemblyKitReleasePackages script: this
    28  ```
    29  
    30  If the step is to be configured individually the config.yml should look like this:
    31  
    32  ```yaml
    33  steps:
    34    abapAddonAssemblyKitReleasePackages:
    35      abapAddonAssemblyKitCredentialsId: 'abapAddonAssemblyKitCredentialsId'
    36  ```
    37  
    38  More convenient ways of configuration (e.g. on stage level) are described in the respective scenario/pipeline documentation.