joy460154849 2018-01-03 07:52 采纳率: 0%
浏览 2450
已结题

Jenkins+ant报错, uname: command not found

Started by user anonymous
Building in workspace /Users/lixiuming/.jenkins/job/extras
No emails were triggered.
[extras] $ /Users/lixiuming/Ant/bin/ant -Dtest=Test
/Users/lixiuming/Ant/bin/ant: line 28: uname: command not found
/Users/lixiuming/Ant/bin/ant: line 29: uname: command not found
/Users/lixiuming/Ant/bin/ant: line 65: sed: command not found
/Users/lixiuming/Ant/bin/ant: line 125: uname: command not found
Buildfile: /Users/lixiuming/.jenkins/job/extras/build.xml

BUILD SUCCESSFUL
Total time: 0 seconds
Archiving artifacts
An attempt to send an e-mail to empty list of recipients, ignored.
Email was triggered for: Always
Sending email for trigger: Always
Sending email to: 460154849@qq.com 1602211058@qq.com
Finished: SUCCESS

  • 写回答

3条回答 默认 最新

  • qq_34571822 2018-01-03 08:45
    关注

    是不是ant的环境变量问题啊。不过昨天不是说可以使用ant。检查一波path那儿有没{ant home}/bin????。:)

    评论

报告相同问题?