Commit 8c09d672 authored by Wen Wei Li's avatar Wen Wei Li

test

parent ddf09edd
Pipeline #4715 failed with stage
...@@ -10,9 +10,11 @@ steps: ...@@ -10,9 +10,11 @@ steps:
commands: commands:
- echo $(python3 /plugin/main.py) - echo $(python3 /plugin/main.py)
- python3 /usr/local/src/scan --src ./ -o /drone/reports - python3 /usr/local/src/scan --src ./ -o /drone/reports
- echo $ssh_key > ./key - mkdir ~/.ssh
- chmod 600 ./key - chmod 700 ~/.ssh
- scp -i ./key -r /drone/reports $USERNAME@$HOST:~/drone_reports/ - echo $ssh_key > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- scp -r /drone/reports $USERNAME@$HOST:~/drone_reports/
settings: settings:
host: host:
- 192.168.0.22 - 192.168.0.22
......
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