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
update docs
This commit is contained in:
@@ -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.")
|
||||
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user