上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 37 下一页
摘要: 文档 # 官方hello word https://plugins.jenkins.io/job-dsl/ https://jenkinsci.github.io/job-dsl-plugin/ # 【DSL文档】结合JCasC插件方法 https://github.com/jenkinsci/jo 阅读全文
posted @ 2021-07-15 17:26 该显示昵称已被使用了 阅读(75) 评论(0) 推荐(0) 编辑
摘要: https://plugins.jenkins.io/configuration-as-code/ 阅读全文
posted @ 2021-07-15 17:23 该显示昵称已被使用了 阅读(82) 评论(0) 推荐(0) 编辑
摘要: https://blog.51cto.com/wugang2126/1161801 (1)手动方式 这种方式很简单,设置端口成员链路两端的模式为“on”。 命令格式为: channel-group <number组号> mode on (2)自动方式 自动方式有两种协议: PAgP(Port Agg 阅读全文
posted @ 2021-07-15 17:03 该显示昵称已被使用了 阅读(121) 评论(0) 推荐(0) 编辑
摘要: def retry(int times = 5, Closure errorHandler = {e-> log.warn(e.message,e)} , Closure body) { int retries = 0 def exceptions = [] while(retries++ < ti 阅读全文
posted @ 2021-07-15 10:13 该显示昵称已被使用了 阅读(114) 评论(0) 推荐(0) 编辑
摘要: https://www.jenkins.io/blog/2017/10/02/pipeline-templates-with-shared-libraries/ 阅读全文
posted @ 2021-07-15 10:05 该显示昵称已被使用了 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 基础知识 # 例子1 import numpy as np teams_list = ["Man Utd","Man City","T Hotspur"] data = np.array([[1, 2, 1], [0, 1, 0], [2, 4, 2]]) row_format ="{:>15}" 阅读全文
posted @ 2021-07-14 11:17 该显示昵称已被使用了 阅读(137) 评论(0) 推荐(0) 编辑
摘要: smbclient方法 def check_smb_img(): smbclient.register_session("1.1.1.1", username="name", password="password") img_path = smbclient.listdir(r"\\1.1.1.1\ 阅读全文
posted @ 2021-07-13 17:35 该显示昵称已被使用了 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 字符串切片汇总 [:-1]和[::-1] a='python' b=a[::-1] #nohtyp # 倒序 c=a[::-2] #nhy d=a[:-1] #从位置0到位置-1之前的数 #pytho e=a[:-2] #从位置0到位置-2之前的数 #pyth # 去掉后缀 name = file[ 阅读全文
posted @ 2021-07-09 17:33 该显示昵称已被使用了 阅读(744) 评论(0) 推荐(0) 编辑
摘要: print # 打印进度 for i in range(30): print('\r%d'%i, end='', flush=True) time.sleep(1) # 机器学习打印环境 def update_env(L): while True: env_list = ['T']+ ['-'] * 阅读全文
posted @ 2021-07-09 17:32 该显示昵称已被使用了 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 带行的str转list str.splitlines([keepends]) 阅读全文
posted @ 2021-07-08 17:57 该显示昵称已被使用了 阅读(77) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 37 下一页