Open mikeygithub opened 10 months ago
Generic Webhook Trigger Plugin Version1.86.4
Jenkins 2.346.3
If the name is empty, it defaults to '_' Rename variable at the beginning
pipeline define
pipeline { agent none stages { stage('deploy') { agent { docker { image 'xxxxx/xxxx:3.1.0' args '-v /devops/kubectl:/root/.kube -u root' } } steps { sh ''' echo deploy echo "Hello, World! feishu post -t ${COMMON_FEISHU_TOKEN} -s ${COMMON_FEISHU_SECRET} start\" -r \"${RUN_DISPLAY_URL}\" ''' } } } }
When I use webhook for triggering, once I execute sh, it will enter an infinite blocking state
But when I click on build now on Jenkins, it can run normally
Finally, I found that as long as I write any value, it can run normally
Thanks for reporting. Good that you found a workaround.
Plugin version used
Generic Webhook Trigger Plugin Version1.86.4
Jenkins version used
Jenkins 2.346.3
configuration
If the name is empty, it defaults to '_' Rename variable at the beginning
pipeline define
When I use webhook for triggering, once I execute sh, it will enter an infinite blocking state
But when I click on build now on Jenkins, it can run normally
Finally, I found that as long as I write any value, it can run normally