随笔分类 -  groovy

摘要:$/开始, /$结束 https://wenku.baidu.com/view/ba24f80b4b2fb4daa58da0116c175f0e7cd119f7.html 阅读全文
posted @ 2022-07-21 23:29 i舒 阅读(415) 评论(0) 推荐(0) 编辑
摘要:字符串定义: https://blog.csdn.net/dora_310/article/details/52895835 闭包:https://blog.csdn.net/wshl1234567/article/details/108940427 阅读全文
posted @ 2021-09-25 09:19 i舒 阅读(40) 评论(0) 推荐(0) 编辑
摘要:declarative: pipeline { agent any pipeline { agent any stages { stage('Non-Parallel Stage') { steps { echo 'This stage will be executed first.' } } st 阅读全文
posted @ 2021-08-28 21:13 i舒 阅读(87) 评论(0) 推荐(0) 编辑
摘要:array_x = [1,2,3] map_x = ["a":1,"b":2] for (x in array) { println(x) } for(k,v in map_x) { println(k) } get 获取字典值: m = ["a":1, "b":2]println(m.get("c 阅读全文
posted @ 2021-08-28 21:04 i舒 阅读(37) 评论(0) 推荐(0) 编辑