2

我在 Jenkins 中配置了一个 maven 2 作业,并且在我使用的 Build 下

 clean test release:prepare ...

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

[WARNING] [LAUNCHER] Using regular flashplayer tests

但是当它尝试运行准备时,我得到,

[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
4

0 回答 0