Commit e8c7e242 authored by Wen Wei Li's avatar Wen Wei Li

test

parent 8c09d672
Pipeline #4717 failed with stage
...@@ -12,8 +12,11 @@ steps: ...@@ -12,8 +12,11 @@ steps:
- python3 /usr/local/src/scan --src ./ -o /drone/reports - python3 /usr/local/src/scan --src ./ -o /drone/reports
- mkdir ~/.ssh - mkdir ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- echo $ssh_key
- echo $ssh_key > ~/.ssh/id_rsa - echo $ssh_key > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa
- echo $USERNAME
- echo $HOST
- scp -r /drone/reports $USERNAME@$HOST:~/drone_reports/ - scp -r /drone/reports $USERNAME@$HOST:~/drone_reports/
settings: settings:
host: host:
......
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