1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-09-16 09:26:22 +02:00

update docs

This commit is contained in:
Christopher Fenner
2025-08-30 10:18:25 +02:00
parent 0f95a45946
commit d90c99fbc4
3 changed files with 3 additions and 3 deletions

View File

@@ -194,7 +194,7 @@ and are exposed are environment variables that must be present in the environmen
func addPythonBuildFlags(cmd *cobra.Command, stepConfig *pythonBuildOptions) {
cmd.Flags().StringSliceVar(&stepConfig.BuildFlags, "buildFlags", []string{}, "Defines list of build flags passed to python binary.")
cmd.Flags().StringSliceVar(&stepConfig.SetupFlags, "setupFlags", []string{}, "Defines list of flags passed to setup.py.")
cmd.Flags().StringSliceVar(&stepConfig.SetupFlags, "setupFlags", []string{}, "Defines list of flags passed to setup.py / build module.")
cmd.Flags().BoolVar(&stepConfig.CreateBOM, "createBOM", false, "Creates the bill of materials (BOM) using CycloneDX plugin.")
cmd.Flags().BoolVar(&stepConfig.Publish, "publish", false, "Configures the build to publish artifacts to a repository.")
cmd.Flags().StringVar(&stepConfig.TargetRepositoryPassword, "targetRepositoryPassword", os.Getenv("PIPER_targetRepositoryPassword"), "Password for the target repository where the compiled binaries shall be uploaded - typically provided by the CI/CD environment.")

View File

@@ -122,7 +122,7 @@ func TestPythonBuildExecute(t *testing.T) {
"python": "python",
}
err := buildExecute(&config, &utils, []string{}, virutalEnvironmentPathMap)
err := buildExecute(&config, &utils, virutalEnvironmentPathMap)
assert.NoError(t, err)
assert.Equal(t, "python", utils.ExecMockRunner.Calls[0].Exec)

View File

@@ -25,7 +25,7 @@ spec:
- STEPS
- name: setupFlags
type: "[]string"
description: Defines list of flags passed to setup.py.
description: Defines list of flags passed to setup.py / build module.
scope:
- PARAMETERS
- STAGES