![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jenkins
Yan茶
所有内容为个人笔记
展开
-
shell脚本记录
#!/bin/bashexport BUILD_ID=DONTKILLMEAPP_NAME=$2ENV_PROFILE=$3function stop(){ PID=`ps -ef|grep $APP_NAME|grep -v grep|grep -v springboot.sh|awk '{print $2}'` if [[ -n "$PID" ]];then echo 'Stop Process...' kill -15 $PID fi PID=`ps原创 2020-10-21 16:58:56 · 79 阅读 · 0 评论 -
windows jenkins 修改主目录
1.停掉Jenkins 2.复制jenkins至新目录 3.本地添加系统变量 4.Jenkins.xml 修改原创 2020-05-09 15:24:04 · 1803 阅读 · 0 评论 -
windows jenkins 乱码
解决:1、Jenkins->系统管理->系统设置,在全局属性新建变量键为:LANG值为:zh_CN.UTF-82、添加环境变量键=JAVA_TOOL_OPTIONS值=-Dfile.encoding=UTF-83.修改Jenkins所在目录下的Jenkins.xml文件,找到,在中间添加-Difile.encoding=utf-84.重启Jenkins...原创 2020-01-14 14:05:47 · 479 阅读 · 0 评论 -
jenkins pipeline打tag
以下四种方式皆可用jenkins设置系统凭据方式一:pipeline {agent anystages {stage(‘test’) {steps {git credentialsId: ‘凭据id’, url:“http://git.name:git.password@git地址 "script{def GIT_TAG = new Date().format(“yyyyMMd...原创 2019-12-18 10:49:29 · 3367 阅读 · 2 评论 -
jenkins报错
错误1.安装jenkinsAug 14 15:50:42 LENOVO-LA0X1596 systemd[1]: Starting LSB: Jenkins Automation Server…Aug 14 15:50:42 LENOVO-LA0X1596 runuser[111344]: pam_unix(runuser:session): session opened for user j...原创 2019-12-09 16:21:00 · 912 阅读 · 0 评论