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:
commands:
- echo $(python3 /plugin/main.py)
- python3 /usr/local/src/scan --src ./ -o /drone/reports
- echo $ssh_key > ./key
- chmod 600 ./key
- scp -i ./key -r /drone/reports $USERNAME@$HOST:~/drone_reports/
- mkdir ~/.ssh
- chmod 700 ~/.ssh
- echo $ssh_key > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- scp -r /drone/reports $USERNAME@$HOST:~/drone_reports/
settings:
host:
- 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