File tree 1 file changed +2
-8
lines changed 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -34,18 +34,12 @@ PROJECT_DIRECTORY=${PROJECT_DIRECTORY:="."}
34
34
API_KEY=${API_KEY}
35
35
CONFIG_FILE=${CONFIG_FILE:= " wss-unified-agent.config" }
36
36
37
- echo " Copying project directory and config file from codefresh/volume to image"
38
- cd /wss-scan
39
- mkdir ${PROJECT_DIRECTORY}
40
- cp ../codefresh/volume/${PROJECT_DIRECTORY} /* ${PROJECT_DIRECTORY}
41
- cp ../codefresh/volume/${CONFIG_FILE} /wss-scan/${CONFIG_FILE}
42
-
43
37
if [[ -z " ${API_KEY} " ]]; then
44
38
/wss-scan/run_latest_jar.sh -c " ${CONFIG_FILE} " -d " ${PROJECT_DIRECTORY} "
45
39
else
46
- /wss-scan/run_latest_jar.sh -apiKey " ${API_KEY} " -c " /wss-scan/ ${CONFIG_FILE} " -d " /wss-scan/ ${PROJECT_DIRECTORY} "
40
+ /wss-scan/run_latest_jar.sh -apiKey " ${API_KEY} " -c " ${CONFIG_FILE} " -d " ${PROJECT_DIRECTORY} "
47
41
fi
48
42
echo " "
49
43
echo " *******************************************************************************************************************"
50
44
echo " Finish Running WhiteSource Unified Agent "
51
- echo " *******************************************************************************************************************"
45
+ echo " *******************************************************************************************************************"
You can’t perform that action at this time.
0 commit comments