mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
9db249fe1c
* docu updates * go generate * remove example as better explained in scenario docu * Update abapAddonAssemblyKitCheckCVs_generated.go * PV Step update * md lint * create TV * publish TV * lint * register * release * reserve * yaml lint * Update abapAddonAssemblyKitRegisterPackages_generated.go * Update resources/metadata/abapAddonAssemblyKitCreateTargetVector.yaml Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com> * Update resources/metadata/abapAddonAssemblyKitPublishTargetVector.yaml Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com> * refer Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
64 lines
2.5 KiB
YAML
64 lines
2.5 KiB
YAML
metadata:
|
|
name: abapAddonAssemblyKitCheckPV
|
|
description: This step checks the validity of a Addon Product Version.
|
|
longDescription: |
|
|
This step checks by calling AAKaaS whether the Addon Product Version in the addonDescriptor configuration file specified via addonDescriptorFileName (e.g. addon.yml) does exist or is a valid successor of an existing Product Version.
|
|
It resolves the dotted version string into version, support package stack level and patch level and writes it to the addonDescriptor structure in the Piper commonPipelineEnvironment for usage of subsequent pipeline steps.
|
|
<br />
|
|
For Terminology refer to the [Scenario Description](https://www.project-piper.io/scenarios/abapEnvironmentAddons/).
|
|
spec:
|
|
inputs:
|
|
secrets:
|
|
- name: abapAddonAssemblyKitCredentialsId
|
|
description: CredentialsId stored in Jenkins for the Addon Assembly Kit as a Service (AAKaaS) system
|
|
type: jenkins
|
|
params:
|
|
- name: abapAddonAssemblyKitEndpoint
|
|
type: string
|
|
description: Base URL to the Addon Assembly Kit as a Service (AAKaaS) system
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
- GENERAL
|
|
mandatory: true
|
|
default: https://apps.support.sap.com
|
|
- name: username
|
|
type: string
|
|
description: User for the Addon Assembly Kit as a Service (AAKaaS) system
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: true
|
|
secret: true
|
|
- name: password
|
|
type: string
|
|
description: Password for the Addon Assembly Kit as a Service (AAKaaS) system
|
|
scope:
|
|
- PARAMETERS
|
|
mandatory: true
|
|
secret: true
|
|
- name: addonDescriptorFileName
|
|
type: string
|
|
description: File name of the YAML file which describes the Product Version and corresponding Software Component Versions
|
|
mandatory: true
|
|
default: addon.yml
|
|
- name: addonDescriptor
|
|
type: string
|
|
description: Structure in the commonPipelineEnvironment containing information about the Product Version and corresponding Software Component Versions
|
|
mandatory: false
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
resourceRef:
|
|
- name: commonPipelineEnvironment
|
|
param: abap/addonDescriptor
|
|
outputs:
|
|
resources:
|
|
- name: commonPipelineEnvironment
|
|
type: piperEnvironment
|
|
params:
|
|
- name: abap/addonDescriptor
|