创建触发器身份令牌

curl -X GET http://192.168.200.141:8080/jenkins/job/git-pre-release-base/build?token=TOKEN_NAME --user jchlpre:jchlpre

curl -X GET jenkins-url地址/job/项目名称/build?token=上图设置的令牌 –user 帐号:密码

####查看项目打包进度

curl -X GET http://192.168.200.141:8080/jenkins/job/git-pre-release-base/lastBuild/api/xml --user jchlpre:jchlpre

curl -X GET jenkins-url地址/job/项目名称/lastBuild/api/xml –user 帐号:密码