05 2021 档案
摘要:def getHost(){ def remote = [:] remote.name = 'test' remote.host = '1.1.1.1' remote.user = 'root' remote.password = 'password' remote.allowAnyHosts =
阅读全文
摘要:示例1:pipeline 所有有效的声明式流水线必须包含在一个 pipeline 块中, 比如: pipeline { /* insert Declarative Pipeline here */ } 示例2:agent agent 部分指定了整个流水线或特定的部分, 将会在Jenkins环境中执行
阅读全文
摘要:第一步,安装tomcat yum install tomcat -y 第二步,去官网下载最新的war包 第三步,放到tomcat中的webapps下 mv jenkins.war /usr/share/tomcat/webapps/ 第四步,修改tomcat字符集,并且重启tomcat vim /e
阅读全文