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

标签 linux jenkins serena

我在 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/

相关文章:

c - 解释 gdb 输出

linux - awk 列减去一个常量

linux - 如何使用 curl 命令行工具发布 LF?

jenkins - 我需要在周一和周四运行 Jenkins 工作,那么下面的表达式可以为我完成吗?

ruby - 如何将版本历史从 Serena Dimensions 导出到 Git?

linux - 查找错误预测分支的源位置

git - Jenkins : stderr: Permission denied (publickey). fatal: 远端意外挂断

jenkins - 如何更改 jenkins `/tmp` 目录位置?

java - 如何以 jar 格式获得一个包含该 jar 内依赖项的最终 jar?