Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 运行maven发布插件时在jenkins中使用flashplayer时出错。使用mvn测试时有效_Apache Flex_Maven_Hudson_Jenkins_Maven Release Plugin - Fatal编程技术网

Apache flex 运行maven发布插件时在jenkins中使用flashplayer时出错。使用mvn测试时有效

Apache flex 运行maven发布插件时在jenkins中使用flashplayer时出错。使用mvn测试时有效,apache-flex,maven,hudson,jenkins,maven-release-plugin,Apache Flex,Maven,Hudson,Jenkins,Maven Release Plugin,我在Jenkins中配置了一个maven 2作业,在我使用的构建中 clean test release:prepare ... 在目标选项中。Jenkins会依次运行这些目标,当测试运行时,它会打印(并且运行良好): 但是当它试着运行准备时,我发现 [INFO] [WARNING] [LAUNCHER] Using xvfb-run to launch headless tests [INFO] [INFO] ----------------------------------------

我在Jenkins中配置了一个maven 2作业,在我使用的构建中

 clean test release:prepare ...
目标选项中。Jenkins会依次运行这些目标,当测试运行时,它会打印(并且运行良好):

但是当它试着运行准备时,我发现

[INFO] [WARNING] [LAUNCHER] Using xvfb-run to launch headless tests
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Failed to launch Flash Player.  Probably java was not able to find flashplayer.
[INFO]      Make sure flashplayer is available on PATH
[INFO]      or use -DflashPlayer.command=${flashplayer executable}
[INFO] Read more at: https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests
同样的工作,同样的詹金斯,同样的工作配置,我如何才能让它工作起来,使准备也像清洁目标一样工作

我还尝试了错误建议,即:

 -Dflex.flashPlayer.command=/opt/player_10/flashplayer", "-DflashPlayer.command=/opt/player_10/flashplayer
 -Dflex.flashPlayer.command=/opt/player_10/flashplayer", "-DflashPlayer.command=/opt/player_10/flashplayer