小编Cyb*_*ran的帖子

带有Xvfb插件的Jenkins:在空构建时出现"Prefix string too short"错误

我创建了一个空项目,选中"在构建之前启动Xvfb,并在之后将其关闭.",并且构建失败并出现错误.

Building in workspace /var/lib/jenkins/jobs/test/workspace
FATAL: Prefix string too short
java.lang.IllegalArgumentException: Prefix string too short
    at java.io.File.createTempFile(File.java:1978)
    at hudson.FilePath$18.invoke(FilePath.java:1404)
    at hudson.FilePath$18.invoke(FilePath.java:1401)
    at hudson.FilePath.act(FilePath.java:989)
    at hudson.FilePath.act(FilePath.java:967)
    at hudson.FilePath.createTempDir(FilePath.java:1401)
    at org.jenkinsci.plugins.xvfb.XvfbBuildWrapper.launchXvfb(XvfbBuildWrapper.java:484)
    at org.jenkinsci.plugins.xvfb.XvfbBuildWrapper.setUp(XvfbBuildWrapper.java:594)
    at hudson.model.Build$BuildExecution.doRun(Build.java:154)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
    at hudson.model.Run.execute(Run.java:1718)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:89)
    at hudson.model.Executor.run(Executor.java:240)
Run Code Online (Sandbox Code Playgroud)

出了什么问题?

  • Ubuntu Server 14.10
  • 詹金斯1.597
  • xvfb插件1.0.13
  • Xvfb可执行路径:/ usr/bin/Xvfb

jenkins xvfb jenkins-plugins

3
推荐指数
1
解决办法
1185
查看次数

标签 统计

jenkins ×1

jenkins-plugins ×1

xvfb ×1