1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-09-16 09:26:22 +02:00
This commit is contained in:
Christopher Fenner
2025-09-12 13:38:06 +02:00
parent 7507bfc2dc
commit 3c1956e7c5

View File

@@ -155,6 +155,13 @@ func createVirtualEnvironment(utils pythonBuildUtils, config *pythonBuildOptions
virutalEnvironmentPathMap["python"] = "python"
virutalEnvironmentPathMap["deactivate"] = filepath.Join(config.VirutalEnvironmentName, "bin", "deactivate")
if err = utils.RunExecutable("which", "python"); err != nil {
return err
}
if err = utils.RunExecutable("which", "pip"); err != nil {
return err
}
return nil
}