QA亮子的记事本

记录开发测试中碰到的问题和解决办法

导航

12 2015 档案

Get Jenkins job build queue length
摘要: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... 阅读全文

posted @ 2015-12-28 16:51 sdet_liang 阅读(833) 评论(0) 推荐(0) 编辑

Android ui 测试课堂笔记
摘要:开始接触Android ui测试了,笔记如下模拟器 Genemotion , the fastest android simulator in the worldAndroid ui 测试工具 Selendroid 阅读全文

posted @ 2015-12-25 16:39 sdet_liang 阅读(144) 评论(0) 推荐(0) 编辑

使用Firefox user agent进行移动端网页测试
摘要:Selenium 真是个强大的网页测试工具,设置Firefox user agent, 就可以轻松模拟手机端浏览器进行网页测试。 Demo Code# -*- coding:utf8 -*-import unittestfrom selenium import webdriverclass Mobi... 阅读全文

posted @ 2015-12-22 12:01 sdet_liang 阅读(904) 评论(0) 推荐(0) 编辑

Github 笔记
摘要:在本地创建并切换git checkout -b your_branch_name把本地分支的修改提交到远端的分支上git push origin local_branch_name:remote_branch_name把本地分支重置成远端master分支的代码git reset --hard ori... 阅读全文

posted @ 2015-12-16 12:23 sdet_liang 阅读(125) 评论(0) 推荐(0) 编辑

crontabs Permission denied
摘要:Linux crontab 阅读全文

posted @ 2015-12-15 10:52 sdet_liang 阅读(1842) 评论(0) 推荐(0) 编辑

Sporadic IOException: Failed to persist config
摘要:问题在调用Jenkins API来更新Job的时候报错‘Sporadic IOException: Failed to persist config’。原因https://issues.jenkins-ci.org/browse/JENKINS-27548#add-comment解决办法在上面bug... 阅读全文

posted @ 2015-12-14 10:58 sdet_liang 阅读(278) 评论(0) 推荐(0) 编辑

Jenkins Job 自杀 groovy
摘要:下面的groovy可以加在post groovy script里面在job跑完的时候自杀(把本Job删掉)suicide_url="http://[USER]:[PASSWORD]@[JENKINS_URL]/job/"+manager.build.project.name+"/doDelete"s... 阅读全文

posted @ 2015-12-11 11:00 sdet_liang 阅读(354) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示