1--- 2kind: pipeline 3name: scan-build 4 5steps: 6 - name: bootstrap 7 image: signalwire/freeswitch-public-base:stretch 8 pull: true 9 commands: 10 - ./autogen.sh 11 12 - name: configure 13 image: signalwire/freeswitch-public-base:stretch 14 pull: true 15 commands: 16 - ./configure --with-pic --without-doxygen --disable-stun 17 18 - name: scan-build 19 image: signalwire/freeswitch-public-base:stretch 20 pull: true 21 commands: 22 - mkdir -p scan-build 23 - echo '#!/bin/bash\nscan-build-4.0 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh 24 - chmod +x scan.sh 25 - ./scan.sh 26 - exitstatus=`cat ./scan-build-status.txt` 27 - echo "*** Exit status is $exitstatus" 28 29 - name: notify 30 image: signalwire/drone-notify 31 pull: true 32 environment: 33 SLACK_WEBHOOK_URL: 34 from_secret: slack_webhook_url 35 ENV_FILE: 36 from_secret: notify_env 37 commands: 38 - /root/scan-build-notify.sh 39 40trigger: 41 branch: 42 - master 43 event: 44 - pull_request 45 - push 46 47--- 48kind: signature 49hmac: 70f5ed51150cb1841953ba5df4e5a3cd860af6dd28a733d1c24011aec783c9fe 50 51... 52