Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
詹金斯:git fetch获取詹金斯文件,但詹金斯可以';我找不到_Git_Jenkins_Jenkins Pipeline - Fatal编程技术网

詹金斯:git fetch获取詹金斯文件,但詹金斯可以';我找不到

詹金斯:git fetch获取詹金斯文件,但詹金斯可以';我找不到,git,jenkins,jenkins-pipeline,Git,Jenkins,Jenkins Pipeline,我在Jenkins中使用存储在bitbucket git repo中的Jenkins文件设置了一个管道。当我构建它时,它失败了,错误如下。当我检查文件系统时,我看到文件在那里。如果我更改文件并推送到远程repo并再次构建,我会在文件系统上看到文件更新。然而,我也遭遇了同样的失败。有人遇到过类似的情况吗 詹金斯。2.10 Java版本。1.8.0_91-b14 Started by user Erol Suleyman > git rev-parse --is-inside-work-tr

我在Jenkins中使用存储在bitbucket git repo中的Jenkins文件设置了一个管道。当我构建它时,它失败了,错误如下。当我检查文件系统时,我看到文件在那里。如果我更改文件并推送到远程repo并再次构建,我会在文件系统上看到文件更新。然而,我也遭遇了同样的失败。有人遇到过类似的情况吗

詹金斯。2.10

Java版本。1.8.0_91-b14

Started by user Erol Suleyman
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://bitbucket.xxx.xxx/scm/cha/jenkins-pipeline.git # timeout=10
Fetching upstream changes from https://bitbucket.xxx.xxx/scm/cha/jenkins-pipeline.git
 > git --version # timeout=10
using .gitcredentials to set credentials
 > git config --local credential.username esuleyman # timeout=10
 > git config --local credential.helper store --file=/tmp/git6615956696298607518.credentials # timeout=10
Setting http proxy: xxxxxxxx.xxxxxx.com:8080
 > git -c core.askpass=true fetch --tags --progress https://bitbucket.xxx.xxx/scm/cha/jenkins-pipeline.git +refs/heads/*:refs/remotes/origin/*
 > git config --local --remove-section credential # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 8f5a9f8f376a1a7ddd5dd23c533286cf511fba6f (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8f5a9f8f376a1a7ddd5dd23c533286cf511fba6f
 > git rev-list 77448171a2b76eb268d7415e1b3c524f10219e22 # timeout=10
ERROR: /u01/appl/jenkins/workspace/SoapUI/test-git-pipeline@script/lab_4a/complete_list/test/Jenkinsfile not found
Finished: FAILURE

这也开始发生在我身上,但在一次Performce结账之后。文件在那里,但现在在服务器上我的工作区/{project}/目录中丢失了。你找到什么了吗?