摘要:Jenkins API doesn’t provide the job build queue length. Hence, it seems we have to parse the html to get the job build queue length Jenkins API 没有提供jo...
阅读全文
摘要:开始接触Android ui测试了,笔记如下模拟器 Genemotion , the fastest android simulator in the worldAndroid ui 测试工具 Selendroid
阅读全文
摘要:Selenium 真是个强大的网页测试工具,设置Firefox user agent, 就可以轻松模拟手机端浏览器进行网页测试。 Demo Code# -*- coding:utf8 -*-import unittestfrom selenium import webdriverclass Mobi...
阅读全文
摘要:在本地创建并切换git checkout -b your_branch_name把本地分支的修改提交到远端的分支上git push origin local_branch_name:remote_branch_name把本地分支重置成远端master分支的代码git reset --hard ori...
阅读全文
摘要:问题在调用Jenkins API来更新Job的时候报错‘Sporadic IOException: Failed to persist config’。原因https://issues.jenkins-ci.org/browse/JENKINS-27548#add-comment解决办法在上面bug...
阅读全文
摘要:下面的groovy可以加在post groovy script里面在job跑完的时候自杀(把本Job删掉)suicide_url="http://[USER]:[PASSWORD]@[JENKINS_URL]/job/"+manager.build.project.name+"/doDelete"s...
阅读全文