gpt4 book ai didi

linux - 致命 : Unable to run checkout callout dimension;jenkins in linux env

转载 作者:太空宇宙 更新时间:2023-11-04 10:51:15 26 4
gpt4 key购买 nike

我在 Linux 机器上设置作业时遇到 Jenkins 问题。在 Windows 机器中它工作正常。这是 Linux 和 Windows 的控制台输出,在此先感谢您的帮助。我正在使用的维度项目是 Test:Test,要监视的文件夹是“TestApp”

---Linux machine console error---
Started by user
[EnvInject] - Loading node environment variables.
Building in workspace /opt/jenkins/workspace/TestApp
Deleting project workspace... done
[DIMENSIONS] Running checkout on master...
[DIMENSIONS] Running build in '/opt/jenkins/workspace/TestApp'...
[DIMENSIONS] Checking out project "Test:Test"...
[DIMENSIONS] Checking out directory 'TestApp'...
FATAL: Unable to run checkout callout - Dimension command failed -
(UPDATE /BRIEF /DIR="TestApp"/WORKSET="Test:Test" /USER_DIR="/opt/jenkins/workspace/TestApp" ) (Using Current Project
'Test:Test'.
Using '/opt/jenkins/workspace/TestApp/' as the Project work area.
COR0006326E Error: Project 'Test:Test' does not contain the specified directory 'TestApp'
Scanning repository: 0.00 sec
Getting Project: 0.00 sec
)Finished: FAILURE


-------- windows machine success----
Started by user anonymous
Building in workspace C:\Users\order\.jenkins\workspace\TestApp
[DIMENSIONS] Running checkout on master...
[DIMENSIONS] Running build in 'C:\Users\order\.jenkins\workspace\TestApp'...
[DIMENSIONS] Removing 'file:/C:/Users/order/.jenkins/workspace/TestApp/'...
[DIMENSIONS] Checking out project "Test:Test"...
[DIMENSIONS] Checking out directory 'TestApp'...
[DIMENSIONS] (Note: Dimensions command output was -
[DIMENSIONS] SUCCESS: Using Current Project 'Test:Test'.
[DIMENSIONS] Using 'C:\Users\order\.jenkins\workspace\TestApp\' as the Project work area.
[DIMENSIONS] Scanning repository: 0.24 sec
[DIMENSIONS] Scanning local work area: 0.28 sec
[DIMENSIONS] Updated 'C:\Users\order\.jenkins\workspace\TestApp\TestApp\.project' using
Item 'Test:PROJECT--1329969986.A-DAT;1'

最佳答案

我可以通过删除针对文件夹的条目来监控选项来解决这个问题。所以它可以从维度中 check out 代码。 Pre Step-->> Execute Shell 真的很有帮助。但奇怪的是,当我提供 PWD(当前工作目录)来检查可用目录时,它显示的是 TestApp。

关于linux - 致命 : Unable to run checkout callout dimension;jenkins in linux env,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30931690/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com