- 博客(3)
- 收藏
- 关注
转载 Git Update 出现 Could not open file .git/rebase-merge/done for reading: No such file or directory
Git Update 出现 Could not open file .git/rebase-merge/done for reading: No such file or directory
2022-12-16 11:19:03 692
原创 Jenkins创建git流水线并且通过流水线串行其他项目
在使用Jenkins的SCM流水线时,可以配合git parameter插件,来指定分支打包。创建参数选择git分支这里要选择Pipeline script from SCM配置远端git 这里要注意不能直接用$Branch不知道是bug还是啥原因获取不出来需要做些特殊处理在前面加入refs/remotes/如下图接着设置流水线脚本名称 可以自定义也可以用默认的 这个脚本必须要在git工程的根目录下且不能有扩展名后面就是编写脚本类容测试package groo...
2022-05-18 22:58:43 1145 1
原创 mac 没有权限执行sh没反应
mac 执行sh没反应 有可能是需要权限的问题给一个脚本开启权限方法首先编辑一个 .sh 脚本文件假设我的脚本文件名为 temp.sh然后给shell脚本赋权限一共有三种方法# 方法一chmod a+x temp.sh# 方法二chmod 777 temp.sh# 方法三sudo chmod +x temp.sh注意:使用sudo的话,说明以管理员身份运行命令,需要输入密码。最后运行shell脚本文件./temp.sh...
2022-03-04 14:12:04 3368
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人