git checkout出现can not stat sensor_config permission denied错误

本文介绍了一种在使用Git频繁切换分支过程中遇到的错误现象及其解决办法。主要原因是由于频繁切换分支导致的IO操作冲突,解决方法是关闭所有窗口并重启计算机。

现象:使用git checkout切换到dev分支,git pull后,在切换到git checkout hunter,出现如题错误

原因及解决:可能原因是频繁切换分支导致IO操作冲突,关闭所有窗口,重启机器,可以正常checkout hunter。

Started by user huzng Running as SYSTEM Building in workspace /var/jenkins_home/workspace/dcloud-short-link-account The recommended git tool is: NONE using credential 1f0bf418-ebd2-4381-9ec9-090e12e122ea > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/dcloud-short-link-account/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://gitee.com/huzng0816/dcloud-short-link.git # timeout=10 Fetching upstream changes from https://gitee.com/huzng0816/dcloud-short-link.git > git --version # timeout=10 > git --version # 'git version 2.39.5' using GIT_ASKPASS to set credentials gitee凭证 > git fetch --tags --force --progress -- https://gitee.com/huzng0816/dcloud-short-link.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 06a132ebd53b4aedcf207fa67ef4431ebb9dda4e (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 06a132ebd53b4aedcf207fa67ef4431ebb9dda4e # timeout=10 Commit message: "打包配置" First time build. Skipping changelog. [dcloud-short-link-account] $ /bin/sh -xe /tmp/jenkins3295438651166041262.sh + echo 登录阿里云镜像 登录阿里云镜像 + docker login login --username=huzng crpi-cgofe8pfpyt8kzhw.cn-shenzhen.personal.cr.aliyuncs.com --password=Hzh728675. /tmp/jenkins3295438651166041262.sh: 3: docker: Permission denied Build step 'Execute shell' marked build as failure Finished: FAILURE
最新发布
09-15
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值