You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +02:00
add semantic version, delete obsolete actual commit value (#4669)
This commit is contained in:
@@ -154,6 +154,10 @@ func (br *buildWithRepository) start() error {
|
||||
ValueID: "CVERS",
|
||||
Value: br.repo.Name + "." + br.repo.Version + "." + br.repo.SpLevel,
|
||||
},
|
||||
{
|
||||
ValueID: "SEMANTIC_VERSION",
|
||||
Value: br.repo.VersionYAML,
|
||||
},
|
||||
{
|
||||
ValueID: "PACKAGE_TYPE",
|
||||
Value: br.repo.PackageType,
|
||||
@@ -180,11 +184,6 @@ func (br *buildWithRepository) start() error {
|
||||
Value: br.repo.PredecessorCommitID})
|
||||
}
|
||||
if br.repo.CommitID != "" {
|
||||
// old value to be used until 2302 [can be deleted earliest with 2311]
|
||||
valuesInput.Values = append(valuesInput.Values,
|
||||
abapbuild.Value{ValueID: "ACTUAL_DELIVERY_COMMIT",
|
||||
Value: br.repo.CommitID})
|
||||
// new value used as of 2302
|
||||
valuesInput.Values = append(valuesInput.Values,
|
||||
abapbuild.Value{ValueID: "CURRENT_DELIVERY_COMMIT",
|
||||
Value: br.repo.CommitID})
|
||||
|
||||
Reference in New Issue
Block a user