File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
Pipeline/PackageBuildOutputs Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -703,18 +703,19 @@ def parseInput(String[] cliArgs){
703
703
if (opts. a) props. application = opts. a
704
704
if (opts. b) props. branch = opts. b
705
705
706
- props. generateWaziDeployAppManifest = (opts. wd) ? ' true' : false
707
-
708
- props. addExtension = (opts. ae) ? ' true' : ' false'
706
+ // cli overrides defaults set in 'packageBuildOutputs.properties'
707
+ props. generateWaziDeployAppManifest = (opts. wd) ? ' true' : props. generateWaziDeployAppManifest
708
+ props. addExtension = (opts. ae) ? ' true' : props. addExtension
709
+ props. publish = (opts. p) ? ' true' : props. publish
710
+ props. generateSBOM = (opts. sbom) ? ' true' : props. generateSBOM
711
+
709
712
props. verbose = (opts. verb) ? ' true' : ' false'
710
713
711
714
// default log encoding if not specified via config passed in via --properties
712
715
if (! props. fileEncoding) props. fileEncoding = " IBM-1047"
713
716
714
717
// Optional Artifact repository info to deploy package
715
-
716
718
if (opts. v) props. versionName = opts. v
717
- props. publish = (opts. p) ? ' true' : ' false'
718
719
719
720
// read of artifact repository file
720
721
if (opts. aprop) {
@@ -763,7 +764,6 @@ def parseInput(String[] cliArgs){
763
764
}
764
765
props. buildReportOrder = buildReports
765
766
766
- props. generateSBOM = (opts. sbom) ? ' true' : ' false'
767
767
if (opts. sbomAuthor) {
768
768
props. sbomAuthor = opts. sbomAuthor
769
769
}
Original file line number Diff line number Diff line change @@ -30,6 +30,18 @@ addExtension=false
30
30
# Default: false
31
31
generateWaziDeployAppManifest =false
32
32
33
+ # Boolean setting to define if SBOM based on cycloneDX should be generated
34
+ # Please note that the cli option `generateSBOM` can override this setting and activate it.
35
+ # Requires the classpath to contain the cycloneDX libs
36
+ # Default: false
37
+ generateSBOM =false
38
+
39
+ # Boolean setting to define if the ArtifactPublisherHelpers should be invoked to upload the package to the configured
40
+ # binary artifact repository, see appArtifactRepository.properties (--artifactRepositoryPropertyFile) or the individual configurations
41
+ # Please note that the cli option `publish` can override this setting and activate it.
42
+ # Default: false
43
+ publish =false
44
+
33
45
# Name of the default tarFileName
34
46
# When processing a single build report, the DBB Build report label it used as the tar file name
35
47
# When processing multiple build report, 'Default' is used as the tar file name
You can’t perform that action at this time.
0 commit comments