{"id":1996,"date":"2017-12-07T07:33:18","date_gmt":"2017-12-07T07:33:18","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1996"},"modified":"2020-01-09T09:44:07","modified_gmt":"2020-01-09T09:44:07","slug":"script-for-breaks-the-build","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/script-for-breaks-the-build\/","title":{"rendered":"Script for Breaks the build"},"content":{"rendered":"<p><strong>pasupuleti2 created the topic: Script for Breaks the build<\/strong><br \/>\nRajesh,<\/p>\n<p>Our current tests are taking 2 hours for one project. when building unit tests they should not accessing databases, filesystems, or physical devices. They should not have sleeps or waits in them etc.<\/p>\n<p>Please let me knoow how to add a feature that breaks the build if it takes more than 5 minutes to run the unit tests.<\/p>\n<p>Thanks<br \/>\n-Saritha<\/p>\n<p><strong>rajeshkumar replied the topic: Script for Breaks the build<\/strong><br \/>\nI am not sure how can i help you in this. You should talk to your Dev team.<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>pasupuleti2 created the topic: Script for Breaks the build Rajesh, Our current tests are taking 2 hours for one project. when building unit tests they should not accessing databases, filesystems,&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[42],"tags":[278],"class_list":["post-1996","post","type-post","status-publish","format-standard","hentry","category-jenkins","tag-script"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1996"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1996\/revisions"}],"predecessor-version":[{"id":1997,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1996\/revisions\/1997"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}