Commit 3dfa94aa authored by Wen Wei Li's avatar Wen Wei Li

fix bug

parent 8b38968a
Pipeline #4713 failed with stage
...@@ -9,7 +9,7 @@ steps: ...@@ -9,7 +9,7 @@ steps:
image: prlab/drone_plugin image: prlab/drone_plugin
commands: commands:
- echo $(python3 /plugin/main.py) - echo $(python3 /plugin/main.py)
- python3 /usr/local/src/scan --src $(pwd) --out-dir /drone/reports - python3 /usr/local/src/scan --src ./ -o /drone/reports
- echo $ssh_key > ./key - echo $ssh_key > ./key
- chmod 600 ./key - chmod 600 ./key
- scp -i ./key -r /drone/reports $USERNAME@HOST:~/drone_reports/ - scp -i ./key -r /drone/reports $USERNAME@HOST:~/drone_reports/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment