I use Gitea to test webhook, and successfully send a push event to Drone, but Drone builds until time out.
- My .drone.yml file:
--- kind: pipeline type: exec name: default platform: os: linux arch: amd64 steps: - name: deploy commands: - sh /projects/ops/scripts/yapi.sh
- My shell script:
...some print scripts, not important... nohup java -jar /opt/yapi/target/yapi-0.0.1-SNAPSHOT.jar > /tmp/yapi.log &
All scripts in shell is executed. I guess
& result in this.
Could you tell me how to deal with shell scripts when using a .sh file?
What is the condition for determining the end of the builds?