无法通过詹金斯运行Firefox? [英] unable to run firefox through jenkins?

查看:172
本文介绍了无法通过詹金斯运行Firefox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过jenkins运行机器人框架,但是当我运行构建时,我得到了firefox错误



用户匿名启动
在工作区/ var / lib / jenkins / jobs / Rocko / workspace


git rev-parse --is-inside-work-tree#timeout = 10
从远程Git存储库获取更改
git config remote.origin.url https: //github.com/pradeekyahvi/robot.git #timeout = 10
https://github.com/pradeekyahvi/robot.git
git --version#timeout = 10
使用.gitcredentials设置凭证
git config --local credential.helper store --file = / tmp / git3401708129991506911.credentials#timeout = 10 $ b $ git fetch --tags --progress https://github.com/pradeekyahvi/ robot.git + refs / heads / :refs / remotes / origin /
git config --local --remove-section证书#timeout = 10
git rev-parse refs / remotes / origin / master ^ {commit}#timeout = 10
git rev-parse refs / remotes / origin / origin / master ^ {commit}#timeout = 10
检出版本
git config core.sparsecheckout#timeout = 10
git checkout -f 7a869c5dd37a5c5875c17651a060a7536662ff75
第一次构建。跳过更新日志。
触发Rocko»firefox
Rocko»firefox完成失败
完成:失败


我使用的是linux mint 17和firefox 33.0.Jenkins版本是1.590。我解决了Jenkins拒绝启动GUI的问题。程序在Windows上作为服务运行时。
通过命令行运行Jenkins解决了这个问题。


I am running robot framework through jenkins but when ever i am running the build, i get the firefox error

Started by user anonymous Building in workspace /var/lib/jenkins/jobs/Rocko/workspace

git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git config remote.origin.url https://github.com/pradeekyahvi/robot.git # timeout=10 Fetching upstream changes from https://github.com/pradeekyahvi/robot.git git --version # timeout=10 using .gitcredentials to set credentials git config --local credential.helper store --file=/tmp/git3401708129991506911.credentials # timeout=10 git fetch --tags --progress https://github.com/pradeekyahvi/robot.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 7a869c5dd37a5c5875c17651a060a7536662ff75 (refs/remotes/origin/master) git config core.sparsecheckout # timeout=10 git checkout -f 7a869c5dd37a5c5875c17651a060a7536662ff75 First time build. Skipping changelog. Triggering Rocko » firefox Rocko » firefox completed with result FAILURE Finished: FAILURE

I am using linux mint 17 and firefox 33.0.Jenkins version is 1.590.

解决方案

I had the issue of Jenkins refusing to launch GUI based programs when it was running as a service on Windows. Running Jenkins via Command line solved the issue.

这篇关于无法通过詹金斯运行Firefox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆