Jenkins 多分支管道故障的含义?
Meaning of Jenkins multi-branch pipeline failure?
我设置了几个多分支管道作业,它们都有一个类似的声明式管道。在我的一份工作中,我明白了这一点。对于我的生活,我无法弄清楚这意味着什么。有什么线索吗?
FailedConsole Output
16:56:25 [Pipeline] End of Pipeline
16:56:25 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.227.23.xxx/10.227.23.xxx:59718
16:56:25 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)
16:56:25 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
16:56:25 at hudson.remoting.Channel.call(Channel.java:1001)
16:56:25 at hudson.FilePath.act(FilePath.java:1247)
16:56:25 at org.jenkinsci.plugins.gitchangelog.steps.GitChangelogStep.run(GitChangelogStep.java:326)
16:56:25 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start[=10=](SynchronousNonBlockingStepExecution.java:47)
16:56:25 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
16:56:25 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
16:56:25 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
16:56:25 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
16:56:25 at java.lang.Thread.run(Thread.java:748)
16:56:25 se.bjurr.gitchangelog.api.exceptions.GitChangelogRepositoryException: master not found in:
16:56:25 Repo: Repository[C:\jenkins\workspace\ature_devops-3-upload-zip-file_4\.git]
16:56:25 HEAD
16:56:25 refs/remotes/origin/development
16:56:25 refs/remotes/origin/feature/devops-3-upload-zip-file
16:56:25 refs/remotes/origin/release/1.4.24
16:56:25 refs/remotes/origin/release/1.4.25
16:56:25 refs/remotes/origin/release/1.4.26
16:56:25 refs/remotes/origin/release/1.4.27
16:56:25 refs/remotes/origin/release/1.4.28
16:56:25 refs/remotes/origin/release/1.4.29
16:56:25
16:56:25 at se.bjurr.gitchangelog.internal.git.GitRepo.getRef(GitRepo.java:142)
16:56:25 at se.bjurr.gitchangelog.api.GitChangelogApi.getChangelog(GitChangelogApi.java:443)
16:56:25 at se.bjurr.gitchangelog.api.GitChangelogApi.getChangelog(GitChangelogApi.java:77)
16:56:25 at se.bjurr.gitchangelog.api.GitChangelogApi.render(GitChangelogApi.java:99)
16:56:25 at se.bjurr.gitchangelog.api.GitChangelogApi.render(GitChangelogApi.java:123)
16:56:25 at org.jenkinsci.plugins.gitchangelog.steps.GitChangelogStep.perform(GitChangelogStep.java:407)
16:56:25 at org.jenkinsci.plugins.gitchangelog.steps.GitChangelogStep.access[=10=]0(GitChangelogStep.java:44)
16:56:25 at org.jenkinsci.plugins.gitchangelog.steps.GitChangelogStep.call(GitChangelogStep.java:322)
16:56:25 at hudson.remoting.UserRequest.perform(UserRequest.java:212)
16:56:25 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
16:56:25 at hudson.remoting.Request.run(Request.java:369)
16:56:25 at hudson.remoting.InterceptingExecutorService.call(InterceptingExecutorService.java:72)
16:56:25 at java.util.concurrent.FutureTask.run(Unknown Source)
16:56:25 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
16:56:25 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
16:56:25 at hudson.remoting.Engine.lambda$newThread[=10=](Engine.java:93)
16:56:25 at java.lang.Thread.run(Unknown Source)
16:56:25 Finished: FAILURE
错误在日志中说明
master not found in: 16:56:25 Repo:
Repository[C:\jenkins\workspace\ature_devops-3-upload-zip-file_4.git]
Jenkins git 插件无法找到 master 分支。您可以通过从路径
手动执行以下命令来验证这一点
C:\jenkins\workspace\ature_devops-3-upload-zip-file_4\
git show-ref
如果您没有看到该行
refs/remotes/origin/master
在输出中,那么你的 git 存储库有问题
我设置了几个多分支管道作业,它们都有一个类似的声明式管道。在我的一份工作中,我明白了这一点。对于我的生活,我无法弄清楚这意味着什么。有什么线索吗?
FailedConsole Output
16:56:25 [Pipeline] End of Pipeline
16:56:25 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.227.23.xxx/10.227.23.xxx:59718
16:56:25 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)
16:56:25 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
16:56:25 at hudson.remoting.Channel.call(Channel.java:1001)
16:56:25 at hudson.FilePath.act(FilePath.java:1247)
16:56:25 at org.jenkinsci.plugins.gitchangelog.steps.GitChangelogStep.run(GitChangelogStep.java:326)
16:56:25 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start[=10=](SynchronousNonBlockingStepExecution.java:47)
16:56:25 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
16:56:25 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
16:56:25 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
16:56:25 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
16:56:25 at java.lang.Thread.run(Thread.java:748)
16:56:25 se.bjurr.gitchangelog.api.exceptions.GitChangelogRepositoryException: master not found in:
16:56:25 Repo: Repository[C:\jenkins\workspace\ature_devops-3-upload-zip-file_4\.git]
16:56:25 HEAD
16:56:25 refs/remotes/origin/development
16:56:25 refs/remotes/origin/feature/devops-3-upload-zip-file
16:56:25 refs/remotes/origin/release/1.4.24
16:56:25 refs/remotes/origin/release/1.4.25
16:56:25 refs/remotes/origin/release/1.4.26
16:56:25 refs/remotes/origin/release/1.4.27
16:56:25 refs/remotes/origin/release/1.4.28
16:56:25 refs/remotes/origin/release/1.4.29
16:56:25
16:56:25 at se.bjurr.gitchangelog.internal.git.GitRepo.getRef(GitRepo.java:142)
16:56:25 at se.bjurr.gitchangelog.api.GitChangelogApi.getChangelog(GitChangelogApi.java:443)
16:56:25 at se.bjurr.gitchangelog.api.GitChangelogApi.getChangelog(GitChangelogApi.java:77)
16:56:25 at se.bjurr.gitchangelog.api.GitChangelogApi.render(GitChangelogApi.java:99)
16:56:25 at se.bjurr.gitchangelog.api.GitChangelogApi.render(GitChangelogApi.java:123)
16:56:25 at org.jenkinsci.plugins.gitchangelog.steps.GitChangelogStep.perform(GitChangelogStep.java:407)
16:56:25 at org.jenkinsci.plugins.gitchangelog.steps.GitChangelogStep.access[=10=]0(GitChangelogStep.java:44)
16:56:25 at org.jenkinsci.plugins.gitchangelog.steps.GitChangelogStep.call(GitChangelogStep.java:322)
16:56:25 at hudson.remoting.UserRequest.perform(UserRequest.java:212)
16:56:25 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
16:56:25 at hudson.remoting.Request.run(Request.java:369)
16:56:25 at hudson.remoting.InterceptingExecutorService.call(InterceptingExecutorService.java:72)
16:56:25 at java.util.concurrent.FutureTask.run(Unknown Source)
16:56:25 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
16:56:25 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
16:56:25 at hudson.remoting.Engine.lambda$newThread[=10=](Engine.java:93)
16:56:25 at java.lang.Thread.run(Unknown Source)
16:56:25 Finished: FAILURE
错误在日志中说明
master not found in: 16:56:25 Repo: Repository[C:\jenkins\workspace\ature_devops-3-upload-zip-file_4.git]
Jenkins git 插件无法找到 master 分支。您可以通过从路径
手动执行以下命令来验证这一点C:\jenkins\workspace\ature_devops-3-upload-zip-file_4\
git show-ref
如果您没有看到该行
refs/remotes/origin/master
在输出中,那么你的 git 存储库有问题