简体   繁体   中英

Running Groovy command in jenkins

我想在Jenkins中运行一个groovy命令。我已经通过Install自动配置了groovy。然后我创建了一个自由样式项目并在构建部分下选择了Execute groovy脚本,然后在它下面我选择了groovy命令并写了一个简单的hello world line。但是当我尝试执行作业时,作业历史显示pending-Waiting for next available executor ,我无法构建作业。请帮我识别问题并建议解决方案。我对Groovy很新。

You need have at least one executor to run your job.

Do you have any slaves? if yes, check if your slave is okej, otherwise, check if your jenkins have free executor.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM