json api: http://XXXXXXXXXXXXXXXXXXX/computer/api/json?pretty=true
参考:
https://segmentfault.com/q/1010000003838869
pipeline 语法:https://jenkins.io/zh/doc/book/pipeline/syntax/#shared-libraries#
declare pipeline with script block:https://www.cnblogs.com/YatHo/p/7856556.html
pipeline脚本切换bash运行:http://www.it1352.com/836845.html