forked from matthewb66/demo-duck_hub_full
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doscan.sh
executable file
·29 lines (26 loc) · 1.39 KB
/
doscan.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
PROJNAME="Demo Full"
curl -s -L https://detect.synopsys.com/detect8.sh > /tmp/detect8.sh
bash /tmp/detect8.sh --blackduck.trust.cert=true \
--detect.project.name="$PROJNAME" --detect.project.version.name=1.0_latest \
--detect.blackduck.signature.scanner.snippet.matching=SNIPPET_MATCHING \
--detect.blackduck.signature.scanner.license.search=true \
--detect.blackduck.signature.scanner.copyright.search=true \
--detect.binary.scan.file.path=Adobe_Reader_XI_11.0.07.exe \
--detect.blackduck.signature.scanner.upload.source.mode=true \
--detect.tools=DETECTOR,SIGNATURE_SCAN,BINARY_SCAN,IAC_SCAN \
--detect.project.version.phase=RELEASED
bash /tmp/detect8.sh --blackduck.trust.cert=true \
--detect.project.name="$PROJNAME" --detect.project.version.name=2.0_latest \
--detect.blackduck.signature.scanner.license.search=true \
--detect.blackduck.signature.scanner.copyright.search=true \
--detect.tools=DETECTOR \
--detect.project.version.phase=PRERELEASE
bash /tmp/detect8.sh --blackduck.trust.cert=true \
--detect.project.name="$PROJNAME" --detect.project.version.name=3.0_latest \
--detect.blackduck.signature.scanner.snippet.matching=SNIPPET_MATCHING \
--detect.blackduck.signature.scanner.license.search=true \
--detect.blackduck.signature.scanner.copyright.search=true \
--detect.blackduck.signature.scanner.upload.source.mode=true \
--detect.tools=SIGNATURE_SCAN \
--detect.project.version.phase=DEVELOPMENT