webhook.php调用方法


      stage("钉钉通知"){
           steps{
                sh """curl 'https://u2.xxx.cn/dingtalk/resendcurl.php?from=jks51'  -H 'Content-Type: application/json' -d '{"name": "${env.JOB_NAME}","branch" : "${env.branch}","id":"${env.BUILD_ID}","time":"${new Date().format("yyyy-MM-dd HH:mm:ss")}","commit":"${env.commit}","status":"${currentBuild.currentResult}"}' """

           }   
       }