Jenkins build失败条件
2015-07-18 12:37
483 查看
在Jenkins 项目写了很多剧本。有时候,我发现脚本失败,但Jenkins运行成功。
Jenkins无论是通过退出代码0比量build成功。
因此,newLISP在。您可以使用(exit)对于成功。(exit 1)它表示失败。
这样就须要添加一些脚本的推断,比方:
Jenkins无论是通过退出代码0比量build成功。
因此,newLISP在。您可以使用(exit)对于成功。(exit 1)它表示失败。
这样就须要添加一些脚本的推断,比方:
(unless (HDFS:test-file export-folder) (begin (println (format "export hdfs dir %s does not exist" export-folder)) (exit 1)))
相关文章推荐
- setuid seteuid setreuid 三个函数讲解
- NGUI学习笔记(五):缓动
- UVA 10735 Euler Circuit 混合图的欧拉回路(最大流,fluery算法)
- UITextField、UILabel和 UITextView四个容易混淆的属性
- Hadoop 管理工具HUE配置
- Win10 RTM Build 10240准正式版简体中文ISO镜像下载 (附KMS激活密钥)
- String,StringBuffer与StringBuilder的区别??
- request.getParameter(param) 的中文乱码问题
- egret GUI 和 egret Wing 是我看到h5 最渣的设计
- android BuildConfig Debug的妙用
- ios uitableview group模式顶部有个空白
- ERROR/Zygote(33): setreuid() failed
- UINavigationController与UITabbarController的样式
- select, iocp, epoll,kqueue及各种I/O复用机制
- [UEFI启动教程][第三章]BIOS锁定纯UEFI启动的解锁办法
- Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)成功烧录方法
- handsontable-developer guide-cell function
- handsontable-developer guide-cell editor
- handsontable-developer guide-cell type
- handsontable-developer guide-setting options,callback