You've already forked sap-jenkins-library
							
							
				mirror of
				https://github.com/SAP/jenkins-library.git
				synced 2025-10-30 23:57:50 +02:00 
			
		
		
		
	Enable additional piecelist for assembly (#3730)
* add useClassicCTS * add option additionalPiecelist * Update abapEnvironmentAssemblePackages.go
This commit is contained in:
		| @@ -186,7 +186,11 @@ func (br *buildWithRepository) start() error { | ||||
| 			abapbuild.Value{ValueID: "SSDC_EXPORT_LANGUAGE_VECTOR", | ||||
| 				Value: br.repo.GetAakAasLanguageVector()}) | ||||
| 	} | ||||
|  | ||||
| 	if br.repo.AdditionalPiecelist != "" { | ||||
| 		valuesInput.Values = append(valuesInput.Values, | ||||
| 			abapbuild.Value{ValueID: "ADDITIONAL_PIECELIST", | ||||
| 				Value: br.repo.AdditionalPiecelist}) | ||||
| 	} | ||||
| 	phase := "BUILD_" + br.repo.PackageType | ||||
| 	log.Entry().Infof("Starting assembly of package %s", br.repo.PackageName) | ||||
| 	return br.build.Start(phase, valuesInput) | ||||
|   | ||||
| @@ -43,6 +43,7 @@ type Repository struct { | ||||
| 	CommitID            string `json:"commitID"` | ||||
| 	VersionYAML         string `json:"version"` | ||||
| 	Version             string `json:"versionAAK"` | ||||
| 	AdditionalPiecelist string `json:"additionalPiecelist"` | ||||
| 	PackageName         string | ||||
| 	PackageType         string | ||||
| 	SpLevel             string | ||||
|   | ||||
		Reference in New Issue
	
	Block a user