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 
			
		
		
		
	Update abapAddonAssemblyKitCheckPV.go (#2468)
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
This commit is contained in:
		| @@ -2,6 +2,7 @@ package cmd | ||||
|  | ||||
| import ( | ||||
| 	"encoding/json" | ||||
| 	"net/url" | ||||
|  | ||||
| 	abapbuild "github.com/SAP/jenkins-library/pkg/abap/build" | ||||
| 	"github.com/SAP/jenkins-library/pkg/abaputils" | ||||
| @@ -78,8 +79,8 @@ func (p *productVersion) transferVersionFields(initialAddonDescriptor *abaputils | ||||
| } | ||||
|  | ||||
| func (p *productVersion) validateAndResolveVersionFields() error { | ||||
| 	log.Entry().Infof("Validate product %s version '%s' and resolve version", p.Name, p.VersionYAML) | ||||
| 	appendum := "/odata/aas_ocs_package/ValidateProductVersion?Name='" + p.Name + "'&Version='" + p.VersionYAML + "'" | ||||
| 	log.Entry().Infof("Validate product '%s' version '%s' and resolve version", p.Name, p.VersionYAML) | ||||
| 	appendum := "/odata/aas_ocs_package/ValidateProductVersion?Name='" + url.QueryEscape(p.Name) + "'&Version='" + url.QueryEscape(p.VersionYAML) + "'" | ||||
| 	body, err := p.Connector.Get(appendum) | ||||
| 	if err != nil { | ||||
| 		return err | ||||
|   | ||||
		Reference in New Issue
	
	Block a user