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
是不是ant的环境变量问题啊。不过昨天不是说可以使用ant。检查一波path那儿有没{ant home}/bin????。:)
jenkins换了一种启动方式出了这个问题,用ant直接启动就可以!
请问您解决了吗?我也碰到此问题
但终端 输入ant -version没问题,