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

create a complete pipeline

parent fa326b75
Pipeline #4779 failed with stage
......@@ -27,6 +27,7 @@ steps:
commands:
- echo $(python3 /plugin/main.py)
- python3 /usr/local/src/scan --src ./src -o /home/reports
depends_on: ["build-and-publish-image"]
- name: code-analysis
image: aosapps/drone-sonar-plugin
......@@ -35,6 +36,7 @@ steps:
from_secret: sonar_host
sonar_token:
from_secret: sonar_token
depends_on: ["build-and-publish-image"]
- name: scp
image: appleboy/drone-scp
......@@ -70,6 +72,7 @@ steps:
- git clone ${DRONE_REPO_LINK}
- cd /root/xAppSec
- ./xAppSec -c /root/drone/${DRONE_REPO_NAME}/init/config-file.json /root/drone/${DRONE_REPO_NAME}/init/schema.json &> /root/drone/log
depends_on: ["scp"]
volumes:
......
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