You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +02:00
adjust log messages
This commit is contained in:
@@ -69,17 +69,17 @@ func runPythonBuild(config *pythonBuildOptions, telemetryData *telemetry.CustomD
|
||||
}
|
||||
|
||||
if strings.HasSuffix(buildDescriptorFilePath, "pyproject.toml") {
|
||||
// TOML file
|
||||
// handle pyproject.toml file
|
||||
if err := python.InstallProjectDependencies(utils.RunExecutable, python.Binary); err != nil {
|
||||
return fmt.Errorf("Failed to install project dependencies: %w", err)
|
||||
return fmt.Errorf("failed to install project dependencies: %w", err)
|
||||
}
|
||||
if err := python.Build(utils.RunExecutable, python.Binary, config.BuildFlags, config.SetupFlags); err != nil {
|
||||
return fmt.Errorf("Failed to build python project: %w", err)
|
||||
return fmt.Errorf("failed to build python project: %w", err)
|
||||
}
|
||||
} else {
|
||||
// legacy handling setup.py
|
||||
// handle legacy setup.py file
|
||||
if err := buildExecute(config, utils, virutalEnvironmentPathMap); err != nil {
|
||||
return fmt.Errorf("Python build failed with error: %w", err)
|
||||
return fmt.Errorf("failed to build python project: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user