def setstatus(status):
if status != "":
alloff()
if status == "SUCCESS":
GPIO.output(getcode('green'), True)
if status == "UNSTABLE":
GPIO.output(getcode('yellow'), True)
if status == "FAILURE":
GPIO.output(getcode('red'), True)
return
jenkinslight.py 文件源码
python
阅读 25
收藏 0
点赞 0
评论 0
评论列表
文章目录