执行grails -shell comand版本中的错误,grails步骤

时间:2018-06-20 22:35:00

标签: jenkins grails continuous-integration

我尝试在jenkins作业的步骤中执行shell脚本,但是显示以下错误。

Building in workspace /var/lib/jenkins/workspace/bosomito
[bosomito] $ /bin/sh -xe /var/tmp/jenkins6770915355248948109.sh
+ pwd
/var/lib/jenkins/workspace/bosomito
+ grails -version
/var/tmp/jenkins6770915355248948109.sh: 3: /var/tmp/jenkins6770915355248948109.sh: grails: not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE

enter image description here

如何在jenkins ci的shell步骤中执行grails命令?

0 个答案:

没有答案