0
在Linux命令行和Jenkins 1.625中,我的Python程序運行良好。在詹金斯2.19與管道,他們退出與消息:在Jenkins管道中,Python程序以「RuntimeError:unidentifiable C++ exception」退出
RuntimeError: unidentifiable C++ exception
問題是什麼?
在Linux命令行和Jenkins 1.625中,我的Python程序運行良好。在詹金斯2.19與管道,他們退出與消息:在Jenkins管道中,Python程序以「RuntimeError:unidentifiable C++ exception」退出
RuntimeError: unidentifiable C++ exception
問題是什麼?
問題在於Jenkins在並行作業的路徑中使用@
作爲分隔符。例如,
/space/jenkins/workspace/sdk/[email protected]/
解決的辦法是指定使用參數不同的分隔符,
-Dhudson.slaves.WorkspaceList=.
和重新啓動詹金斯。 以上示例將並行版本的工作空間路徑中的@
更改爲.
。
在Linux上可以實現通過添加以下到/etc/default/jenkins
這種變化:
# Use "." instead of "@" as the delimiter in concurrent workspace paths
JAVA_ARGS="$JAVA_ARGS -Dhudson.slaves.WorkspaceList=."
然後重新啓動詹金斯:
sudo service jenkins restart