{"id":461467,"date":"2025-05-30T03:00:06","date_gmt":"2025-05-30T03:00:06","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=461467"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=461467","title":{"rendered":"<span>\u041a\u0430\u043a \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e Jenkins Jobs c \u043e\u0434\u043d\u0438\u043c \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c Allure TestOps<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442! \u041c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442 \u041f\u0430\u0432\u0435\u043b, \u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043b\u0438\u0434\u0435\u0440 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0410\u043b\u044c\u0444\u0430-\u0411\u0430\u043d\u043a\u0435 \u0432 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<\/p>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043f\u043b\u0430\u0433\u0438\u043d <strong>withAllureUpload<\/strong> \u0434\u043b\u044f Jenkins \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u0436\u043e\u0431 \u0437\u0430\u043b\u0438\u0442\u044c \u043e\u0442\u0447\u0451\u0442 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0443\u0441\u043a TestOps. \u0413\u043e\u0442\u043e\u0432\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u043d\u0435 \u043d\u0430\u0448\u0451\u043b, \u0438 \u0434\u0430\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 TestOps \u043d\u0435 \u0441\u043c\u043e\u0433\u043b\u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 Jenkins Jobs \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0443\u0441\u043a TestOps. \u041c\u0435\u0442\u043e\u0434\u043e\u043c \u043f\u0440\u043e\u0431 \u0438 \u043e\u0448\u0438\u0431\u043e\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u2014\u00a0\u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043b \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443.<\/p>\n<p>\u041e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e, \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0433\u043e\u0434\u0430 \u0411\u0430\u043d\u043a \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0422\u041c\u0421 Allure Testops. \u0410\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u044b (\u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u0445 &gt;200) \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 CI Jenkins, \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u0435\u0432\u0430\u0439\u0441\u0430\u0445 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e.<\/p>\n<p>\u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0438\u043b\u043e\u0442\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u0440\u044f\u0434\u043e\u043c \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432 \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0432\u0441\u0435\u0445 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0434\u0436\u043e\u0431\u0435, \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043b\u043e\u0433\u0438 \u0432 \u0442\u0430\u043a\u0438\u0445 \u0434\u0436\u043e\u0431\u0430\u0445 \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u043e\u0436\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0447\u0430\u043b\u0438 \u0438\u0441\u043a\u0430\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u0430\u043a \u0440\u0430\u0437\u0431\u0438\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u043a \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0436\u043e\u0431, \u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0437 \u044d\u0442\u0438\u0445 \u0434\u0436\u043e\u0431 \u043f\u0443\u0448\u0438\u043b\u0438\u0441\u044c \u0432 \u043e\u0434\u0438\u043d \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0432 TestOps.<\/p>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0440\u0435\u0448\u0438\u043b\u0438 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431 \u0432 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0443\u044e \u0438 \u0443\u0436\u0435 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 Jenkins \u0434\u0436\u043e\u0431\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0443\u0441\u043a TestOps. \u041d\u043e \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439, \u0447\u0442\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043f\u043b\u0430\u0433\u0438\u043d TestOps <strong>withAllureUpload<\/strong> \u0442\u0430\u043a \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u043b\u0438 \u043f\u0443\u0441\u0442\u043e\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0431\u0435\u0437 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>ALLURE_JOB_RUN_ID.<\/code> (\u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043e\u0442 TestOps \u0432 Jenkins \u0434\u0436\u043e\u0431\u0443 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0434\u0436\u043e\u0431\u044b \u0438\u0437 TestOps) \u0438\u0437 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b \u0432 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0443\u044e, \u0430 \u0443\u0436\u0435 \u0438\u0437 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043f\u043b\u0430\u0433\u0438\u043d <strong>withAllureUpload<\/strong>. \u041d\u043e \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0430\u044f \u0434\u0436\u043e\u0431\u0430 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0430\u0441\u044c, \u0430 \u043f\u0430\u0434\u0430\u043b\u0430 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043b\u0430\u0433\u0438\u043d \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u043d\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u0430 \u0435\u0441\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c, \u0442\u043e \u043f\u043b\u0430\u0433\u0438\u043d \u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439. <\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a8e\/aaa\/384\/a8eaaa384c7ce9dbbeaaf5df3ee065b2.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/a8e\/aaa\/384\/a8eaaa384c7ce9dbbeaaf5df3ee065b2.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a8e\/aaa\/384\/a8eaaa384c7ce9dbbeaaf5df3ee065b2.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0438\u0441\u043a\u043e\u0432 \u0432\u0435\u0437\u0434\u0435, \u0433\u0434\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u043f\u044b\u0442\u043e\u043a, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0441\u0430\u043c\u043e\u0433\u043e TestOps. \u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0447\u0435\u0440\u0435\u0437 <strong>allurectl<\/strong> \u2014 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u041d\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u044b\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u043d\u0435\u0441\u043b\u0438 \u0441\u0432\u043e\u0438 \u043f\u043b\u043e\u0434\u044b. \u0421\u043c\u043e\u0433\u043b\u0438 \u043f\u0440\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0434\u0432\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u043e\u0434\u0438\u043d \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 Jenkins \u0434\u0436\u043e\u0431, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0438\u0441\u0430\u043b \u043d\u0438\u0436\u0435.<\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 \u21161. \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0437 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 Jenkins \u0434\u0436\u043e\u0431 \u0432 \u043e\u0434\u0438\u043d \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps<\/h2>\n<p>\u042d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u043a \u0438\u0437 TestOps \u0438 \u0432 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 Jenkins \u0434\u0436\u043e\u0431\u0435 \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>ALLURE_JOB_RUN_ID.<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u0434\u0436\u043e\u0431\u0430\u043c. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043a\u0430\u0436\u0434\u0430\u044f \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0430\u044f \u0434\u0436\u043e\u0431\u0430 \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0441\u0432\u043e\u0435\u0433\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0444\u043b\u043e\u0443 \u0432 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 Jenkins \u0434\u0436\u043e\u0431\u0430\u0445 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a TestOps, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0430\u0445 \u043d\u0438\u0436\u0435. <\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/832\/7c8\/e5e\/8327c8e5e30cfbacd7214e0175fa1496.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/832\/7c8\/e5e\/8327c8e5e30cfbacd7214e0175fa1496.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/832\/7c8\/e5e\/8327c8e5e30cfbacd7214e0175fa1496.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/697\/4e8\/a95\/6974e8a9573d803ab71ef979bfda1781.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/697\/4e8\/a95\/6974e8a9573d803ab71ef979bfda1781.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/697\/4e8\/a95\/6974e8a9573d803ab71ef979bfda1781.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b<\/h3>\n<p>\u0412 pipeline \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>ALLURE_JOB_RUN_ID.<\/code>.<\/p>\n<pre><code class=\"java\">stage('Android Tests SmzUserGoToSmzScreenFromMainPageTest') { \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0steps { \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0script { \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0smzBuild1 = build job: params.DOWNSTREAM_JOB, \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0parameters: [ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'branchName', value: 'master'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'reportPortalTags', value: 'scheduledRegressLaunch'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'platform', value: 'ANDROID'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'selenoidDeviceName', value: 'Samsung Galaxy A55 5G,Xiaomi Redmi Note 13 Pro,Google Pixel 4a,Samsung Galaxy S21+ 5G'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'selenoidEmulatorVersion', value: '13.0'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'isRetryEnable', value: 'false'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'useLatestRCBuild', value: 'true'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'rpLaunchName', value: 'AM.Smz_entry_point_cycle'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'runTest', value: 'SmzUserGoToSmzScreenFromMainPageTest'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'runInSelenoid', value: 'true'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'ALLURE_JOB_RUN_ID', value: \"${params.ALLURE_JOB_RUN_ID}\") \/\/\u041f\u0435\u0440\u0435\u0434\u0430\u0451\u043c., \u043a\u0430\u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ALLURE_JOB_RUN_ID \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0], \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0propagate: false \u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0echo \"SMZ build number - ${smzBuild1.number}\" \/\/ \u0418\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0} \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0} \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0} <\/code><\/pre>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b<\/h3>\n<p>\u0421\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0448\u0430\u0433\u043e\u0432:<\/p>\n<h4>\u21161. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 allurectl.<\/h4>\n<pre><code class=\"java\">stage('Install allurectl') {             steps {                 script {                     sh '''                         if ! command -v allurectl &amp;&gt; \/dev\/null; then                             echo \"Installing allurectl...\"                             curl -sL https:\/\/github.com\/allure-framework\/allurectl\/releases\/latest\/download\/allurectl_linux_amd64 -o allurectl                             chmod +x allurectl                             .\/allurectl --version                         else                             echo \"allurectl already installed\"                         fi                     '''                 }             }         } <\/code><\/pre>\n<h4>\u21162. \u0417\u0430\u0442\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps.<\/h4>\n<pre><code class=\"java\">stage('Running tests') {             steps {                 script {                     \/\/ \u0414\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u0441\u0435\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435                     def testToRun = \"ru.testing.*\"                     println(\"Chosen test parameter as ${params.runTest}\")                     if (\"${params.runTest}\" != \"\") {                         \/\/ \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430                         testToRun = \"${params.runTest}\"                     } else if (\"${params.runCycle}\" == FULL_REGRESS) {                         \/\/ \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u0441\u0435\u0445 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432                         testToRun = \"ru.testing.regress.*\"                         gradleArgs.remove(\"-Dorg.gradle.project.tags=FULL_REGRESS\")                     }                       withCredentials([string(credentialsId: 'testops-token', variable: 'ALLURE_TOKEN')]) {                         sh \"\"\"                             # \u0417\u0430\u043f\u0443\u0441\u043a \u0442\u0435\u0441\u0442\u043e\u0432 \u0441 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u043e\u043c \u0447\u0435\u0440\u0435\u0437 allurectl                             .\/allurectl watch \\                                 --endpoint https:\/\/testops \\                                 --project-id 4 \\                                 --launch-name \"AM.Regress-#${env.BUILD_NUMBER}\" \\                                 --launch-tags \"Jenkins_Android,regression\" \\                                 --results build\/allure-results -- .\/gradlew --info clean test ${gradleArgs.join(' ')} --tests \"${testToRun}\"                         \"\"\"                     }                   }             }             post {                 always {                     allure includeProperties: false,                             jdk: '',                             results: [[path: 'build\/allure-results']]                 }             }         } <\/code><\/pre>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>ALLURE_JOB_RUN_ID.<\/code> \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u0435, <strong>allurectl<\/strong> \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u0430 \u0437\u0430\u043f\u0443\u0448\u0438\u0442 \u043e\u0442\u0447\u0451\u0442\u044b \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps.<\/p>\n<p>\u041f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430: <a href=\"https:\/\/qatools.ru\/docs\/ecosystem\/allurectl#%D0%B7%D0%B0%D0%BF%D1%83%D1%81%D0%BA-%D0%B2%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%BD%D1%8B%D1%85-%D0%B4%D0%B6%D0%BE%D0%B1\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f TestOps<\/a>.<\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 \u21162. \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0437 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 Jenkins \u0434\u0436\u043e\u0431\u044b \u0432 \u043e\u0434\u0438\u043d \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps<\/h2>\n<p>\u042d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0435 \u0434\u0436\u043e\u0431\u0443 \u0438\u0437 Jenkins, \u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b \u043d\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <code>ALLURE_JOB_RUN_ID.<\/code> \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u0434\u0436\u043e\u0431\u0430\u043c \u043d\u0435\u0447\u0435\u0433\u043e.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0444\u043b\u043e\u0443 \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u044b\u043c. \u0422\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043d\u0443\u0436\u0435\u043d \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 Jenkins \u043f\u043b\u0430\u0433\u0438\u043d <strong>copyArtifacts<\/strong>, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431 \u0432 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0443\u044e.<\/p>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b<\/h3>\n<p>\u0412 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u0435, \u043a\u0430\u043a \u0438 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0438, \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a TestOps.<\/p>\n<h4>\u21161. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 pipeline \u0437\u0430\u043f\u0443\u0441\u043a \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431.<\/h4>\n<pre><code class=\"java\">  stage(\"Android Tests ${cycle}\") {      downstreamJob = build job: params.DOWNSTREAM_JOB,          parameters: [              string(name: 'branchName', value: 'master'),              string(name: 'platform', value: 'ANDROID'),              string(name: 'selenoidDeviceName', value: selenoidDeviceNameList),              string(name: 'selenoidEmulatorVersion', value: '13.0'),              booleanParam(name: 'isRetryEnable', value: 'false'),              string(name: 'useLatestRCBuild', value: 'true'),              string(name: 'rpLaunchName', value: cycle),              string(name: 'runCycle', value: cycle),              string(name: 'runTest', value: ''),              string(name: 'runInSelenoid', value: 'true')          ],          propagate: false            \/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 null \u043f\u0435\u0440\u0435\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c      if (downstreamJob?.number) {          echo \"Build number for ${cycle}: ${downstreamJob.number}\"      } else {          echo \"Build for ${cycle} failed to start\"      }   } <\/code><\/pre>\n<h4>\u21162. \u0412\u0442\u043e\u0440\u044b\u043c \u043f\u0443\u043d\u043a\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0448\u0430\u0433 \u0441\u0431\u043e\u0440\u0430 \u043b\u043e\u0433\u043e\u0432 \u0438\u0437 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431.<\/h4>\n<pre><code class=\"java\">stage(\"Copy Results From ${cycle}\") {     script {       if (downstreamJob?.number) {         copyArtifacts(           projectName: params.DOWNSTREAM_JOB,           selector: specific(\"${downstreamJob.number}\"),           filter: 'build\/allure-results\/**\/*',           target: \".\",           flatten: false         )           sh \"ls -la build\/allure-results\/\"         } else {         echo \"No artifacts to copy for ${cycle}\"         }     }   } <\/code><\/pre>\n<h4>\u21163. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 allurectl.<\/h4>\n<pre><code class=\"java\">stages {         stage('Install allurectl') {             steps {                 script {                     sh \"\"\"                         if ! command -v .\/allurectl &amp;&gt; \/dev\/null; then                             echo \"Installing allurectl...\"                             curl -sL https:\/\/github.com\/allure-framework\/allurectl\/releases\/latest\/download\/allurectl_linux_amd64 -o allurectl                             chmod +x allurectl                             .\/allurectl --version                         else                             echo \"allurectl already installed\"                         fi                     \"\"\"                 }             }         } <\/code><\/pre>\n<p>\u042d\u0442\u043e\u0442 \u0448\u0430\u0433 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u044b\u043c \u043f\u043e \u0441\u0447\u0435\u0442\u0443, \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0441\u044f \u0434\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0432 TestOps. \u0417\u0434\u0435\u0441\u044c \u0443\u0436\u0435 \u043a\u043e\u043c\u0443 \u043a\u0430\u043a \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f.<\/p>\n<h4>\u21164. \u0418, \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432 TestOps.<\/h4>\n<pre><code class=\"java\">  stage(\"Push report ${cycle}\") {     script {       if (downstreamJob?.number) {         withCredentials([string(credentialsId: 'testops-token', variable: 'ALLURE_TOKEN')]) {           def uploadOutput = sh(             script: \"\"\"               .\/allurectl upload \\               --endpoint https:\/\/testops \\               --project-id 4 \\               --launch-name \"AM ANDROID Regress - #${env.BUILD_NUMBER}\" \\               --launch-tags \"Android,AM,regress\" \\               \"build\/allure-results\"            \"\"\",             returnStdout: true           ).trim()             if (uploadOutput =~ \/Report link: \/) {               reportUrl = (uploadOutput =~ \/Report link: (https?:\\\/\\\/\\S+)\/)[0][1]               }           currentBuild.description = \"\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a Allure TestOps - ${reportUrl}\"           }         sh \"rm -f build\/allure-results\/*\" \/\/\u043e\u0447\u0438\u0449\u0430\u0435\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438         }     }   }  <\/code><\/pre>\n<blockquote>\n<p><strong>[!NOTE]<\/strong><br \/> \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u0431\u0435\u0437 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <code>upload<\/code>, \u0430 \u043d\u0435 <code>watch<\/code>, \u043a\u0430\u043a \u0432 \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u21161<\/p>\n<\/blockquote>\n<blockquote>\n<p><strong>[\u0412\u0410\u0416\u041d\u041e!]<\/strong><br \/> \u041f\u043e\u0441\u043b\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0432\u00a0TestOps \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0447\u0438\u0449\u0430\u0439\u0442\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e <code>build\/allure\u2011results<\/code>, \u0438\u043d\u0430\u0447\u0435 \u0432\u00a0TestOps \u0431\u0443\u0434\u0443\u0442 \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432!<\/p>\n<\/blockquote>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b<\/h3>\n<p>\u0412 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 pipeline \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u044b\u0440\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 allure \u043f\u043e\u0441\u043b\u0435 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432.<\/p>\n<pre><code class=\"java\">post {    always {        \/\/ \u0410\u0440\u0445\u0438\u0432\u0438\u0440\u0443\u0435\u043c \u0441\u044b\u0440\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f        archiveArtifacts(               artifacts: 'build\/allure-results\/**\/*',               fingerprint: true,               allowEmptyArchive: true        )        allure includeProperties: false,                jdk: '',                results: [[path: 'build\/allure-results']]    } } <\/code><\/pre>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0443 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d <strong>withAllureUpload<\/strong>, \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043a\u0430\u0436\u0434\u043e\u0439 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432 TestOps \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c! \u0417\u0434\u0435\u0441\u044c \u0443\u0436\u0435 \u043a\u0430\u043a \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0438\/\u0438\u043b\u0438 \u043a\u0430\u043a \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f.<\/p>\n<p>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/qatools.ru\/docs\/ecosystem\/allurectl#%D0%B7%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0-%D1%81-%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5%D0%BC-%D0%BF%D0%B0%D1%80%D0%B0%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%B2-%D0%BA%D0%BE%D0%BC%D0%B0%D0%BD%D0%B4%D0%BD%D0%BE%D0%B8-%D1%81%D1%82%D1%80%D0%BE%D0%BA%D0%B8\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f TestOps<\/a>,  <\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/allure-framework\/allurectl\/releases\/\">\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 allurectl<\/a>.  <\/p>\n<\/li>\n<\/ul>\n<h3>\u041f\u043e\u0434\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438\u0442\u043e\u0433\u043e\u0432<\/h3>\n<p> \u0415\u0441\u0442\u044c \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 Jenkins \u0434\u0436\u043e\u0431 \u0432 \u043e\u0434\u0438\u043d \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps. \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439. \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0438 \u0434\u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0441\u0442\u0440\u0435\u0447!!!<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/913716\/\"> https:\/\/habr.com\/ru\/articles\/913716\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442! \u041c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442 \u041f\u0430\u0432\u0435\u043b, \u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043b\u0438\u0434\u0435\u0440 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0410\u043b\u044c\u0444\u0430-\u0411\u0430\u043d\u043a\u0435 \u0432 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<\/p>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043f\u043b\u0430\u0433\u0438\u043d <strong>withAllureUpload<\/strong> \u0434\u043b\u044f Jenkins \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u0436\u043e\u0431 \u0437\u0430\u043b\u0438\u0442\u044c \u043e\u0442\u0447\u0451\u0442 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0443\u0441\u043a TestOps. \u0413\u043e\u0442\u043e\u0432\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u043d\u0435 \u043d\u0430\u0448\u0451\u043b, \u0438 \u0434\u0430\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 TestOps \u043d\u0435 \u0441\u043c\u043e\u0433\u043b\u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 Jenkins Jobs \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0443\u0441\u043a TestOps. \u041c\u0435\u0442\u043e\u0434\u043e\u043c \u043f\u0440\u043e\u0431 \u0438 \u043e\u0448\u0438\u0431\u043e\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u2014\u00a0\u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043b \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443.<\/p>\n<p>\u041e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e, \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0433\u043e\u0434\u0430 \u0411\u0430\u043d\u043a \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0422\u041c\u0421 Allure Testops. \u0410\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u044b (\u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u0445 &gt;200) \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 CI Jenkins, \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u0435\u0432\u0430\u0439\u0441\u0430\u0445 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e.<\/p>\n<p>\u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0438\u043b\u043e\u0442\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u0440\u044f\u0434\u043e\u043c \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432 \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0432\u0441\u0435\u0445 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0434\u0436\u043e\u0431\u0435, \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043b\u043e\u0433\u0438 \u0432 \u0442\u0430\u043a\u0438\u0445 \u0434\u0436\u043e\u0431\u0430\u0445 \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u043e\u0436\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0447\u0430\u043b\u0438 \u0438\u0441\u043a\u0430\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u0430\u043a \u0440\u0430\u0437\u0431\u0438\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u043a \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0436\u043e\u0431, \u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0437 \u044d\u0442\u0438\u0445 \u0434\u0436\u043e\u0431 \u043f\u0443\u0448\u0438\u043b\u0438\u0441\u044c \u0432 \u043e\u0434\u0438\u043d \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0432 TestOps.<\/p>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0440\u0435\u0448\u0438\u043b\u0438 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431 \u0432 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0443\u044e \u0438 \u0443\u0436\u0435 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 Jenkins \u0434\u0436\u043e\u0431\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0443\u0441\u043a TestOps. \u041d\u043e \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439, \u0447\u0442\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043f\u043b\u0430\u0433\u0438\u043d TestOps <strong>withAllureUpload<\/strong> \u0442\u0430\u043a \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u043b\u0438 \u043f\u0443\u0441\u0442\u043e\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0431\u0435\u0437 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>ALLURE_JOB_RUN_ID.<\/code> (\u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043e\u0442 TestOps \u0432 Jenkins \u0434\u0436\u043e\u0431\u0443 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0434\u0436\u043e\u0431\u044b \u0438\u0437 TestOps) \u0438\u0437 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b \u0432 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0443\u044e, \u0430 \u0443\u0436\u0435 \u0438\u0437 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043f\u043b\u0430\u0433\u0438\u043d <strong>withAllureUpload<\/strong>. \u041d\u043e \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0430\u044f \u0434\u0436\u043e\u0431\u0430 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0430\u0441\u044c, \u0430 \u043f\u0430\u0434\u0430\u043b\u0430 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043b\u0430\u0433\u0438\u043d \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u043d\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u0430 \u0435\u0441\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c, \u0442\u043e \u043f\u043b\u0430\u0433\u0438\u043d \u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439. <\/p>\n<figure class=\"\"><\/figure>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0438\u0441\u043a\u043e\u0432 \u0432\u0435\u0437\u0434\u0435, \u0433\u0434\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u043f\u044b\u0442\u043e\u043a, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0441\u0430\u043c\u043e\u0433\u043e TestOps. \u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0447\u0435\u0440\u0435\u0437 <strong>allurectl<\/strong> \u2014 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u041d\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u044b\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u043d\u0435\u0441\u043b\u0438 \u0441\u0432\u043e\u0438 \u043f\u043b\u043e\u0434\u044b. \u0421\u043c\u043e\u0433\u043b\u0438 \u043f\u0440\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0434\u0432\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u043e\u0434\u0438\u043d \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 Jenkins \u0434\u0436\u043e\u0431, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0438\u0441\u0430\u043b \u043d\u0438\u0436\u0435.<\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 \u21161. \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0437 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 Jenkins \u0434\u0436\u043e\u0431 \u0432 \u043e\u0434\u0438\u043d \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps<\/h2>\n<p>\u042d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u043a \u0438\u0437 TestOps \u0438 \u0432 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 Jenkins \u0434\u0436\u043e\u0431\u0435 \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>ALLURE_JOB_RUN_ID.<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u0434\u0436\u043e\u0431\u0430\u043c. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043a\u0430\u0436\u0434\u0430\u044f \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0430\u044f \u0434\u0436\u043e\u0431\u0430 \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0441\u0432\u043e\u0435\u0433\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0444\u043b\u043e\u0443 \u0432 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 Jenkins \u0434\u0436\u043e\u0431\u0430\u0445 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a TestOps, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0430\u0445 \u043d\u0438\u0436\u0435. <\/p>\n<figure class=\"\"><\/figure>\n<figure class=\"\"><\/figure>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b<\/h3>\n<p>\u0412 pipeline \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>ALLURE_JOB_RUN_ID.<\/code>.<\/p>\n<pre><code class=\"java\">stage('Android Tests SmzUserGoToSmzScreenFromMainPageTest') { \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0steps { \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0script { \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0smzBuild1 = build job: params.DOWNSTREAM_JOB, \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0parameters: [ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'branchName', value: 'master'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'reportPortalTags', value: 'scheduledRegressLaunch'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'platform', value: 'ANDROID'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'selenoidDeviceName', value: 'Samsung Galaxy A55 5G,Xiaomi Redmi Note 13 Pro,Google Pixel 4a,Samsung Galaxy S21+ 5G'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'selenoidEmulatorVersion', value: '13.0'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'isRetryEnable', value: 'false'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'useLatestRCBuild', value: 'true'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'rpLaunchName', value: 'AM.Smz_entry_point_cycle'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'runTest', value: 'SmzUserGoToSmzScreenFromMainPageTest'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'runInSelenoid', value: 'true'), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0string(name: 'ALLURE_JOB_RUN_ID', value: \"${params.ALLURE_JOB_RUN_ID}\") \/\/\u041f\u0435\u0440\u0435\u0434\u0430\u0451\u043c., \u043a\u0430\u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ALLURE_JOB_RUN_ID \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0], \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0propagate: false \u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0echo \"SMZ build number - ${smzBuild1.number}\" \/\/ \u0418\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0} \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0} \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0} <\/code><\/pre>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b<\/h3>\n<p>\u0421\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0448\u0430\u0433\u043e\u0432:<\/p>\n<h4>\u21161. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 allurectl.<\/h4>\n<pre><code class=\"java\">stage('Install allurectl') {             steps {                 script {                     sh '''                         if ! command -v allurectl &amp;&gt; \/dev\/null; then                             echo \"Installing allurectl...\"                             curl -sL https:\/\/github.com\/allure-framework\/allurectl\/releases\/latest\/download\/allurectl_linux_amd64 -o allurectl                             chmod +x allurectl                             .\/allurectl --version                         else                             echo \"allurectl already installed\"                         fi                     '''                 }             }         } <\/code><\/pre>\n<h4>\u21162. \u0417\u0430\u0442\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps.<\/h4>\n<pre><code class=\"java\">stage('Running tests') {             steps {                 script {                     \/\/ \u0414\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u0441\u0435\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435                     def testToRun = \"ru.testing.*\"                     println(\"Chosen test parameter as ${params.runTest}\")                     if (\"${params.runTest}\" != \"\") {                         \/\/ \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430                         testToRun = \"${params.runTest}\"                     } else if (\"${params.runCycle}\" == FULL_REGRESS) {                         \/\/ \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u0441\u0435\u0445 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432                         testToRun = \"ru.testing.regress.*\"                         gradleArgs.remove(\"-Dorg.gradle.project.tags=FULL_REGRESS\")                     }                       withCredentials([string(credentialsId: 'testops-token', variable: 'ALLURE_TOKEN')]) {                         sh \"\"\"                             # \u0417\u0430\u043f\u0443\u0441\u043a \u0442\u0435\u0441\u0442\u043e\u0432 \u0441 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u043e\u043c \u0447\u0435\u0440\u0435\u0437 allurectl                             .\/allurectl watch \\                                 --endpoint https:\/\/testops \\                                 --project-id 4 \\                                 --launch-name \"AM.Regress-#${env.BUILD_NUMBER}\" \\                                 --launch-tags \"Jenkins_Android,regression\" \\                                 --results build\/allure-results -- .\/gradlew --info clean test ${gradleArgs.join(' ')} --tests \"${testToRun}\"                         \"\"\"                     }                   }             }             post {                 always {                     allure includeProperties: false,                             jdk: '',                             results: [[path: 'build\/allure-results']]                 }             }         } <\/code><\/pre>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>ALLURE_JOB_RUN_ID.<\/code> \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u0435, <strong>allurectl<\/strong> \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u0430 \u0437\u0430\u043f\u0443\u0448\u0438\u0442 \u043e\u0442\u0447\u0451\u0442\u044b \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0432 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps.<\/p>\n<p>\u041f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430: <a href=\"https:\/\/qatools.ru\/docs\/ecosystem\/allurectl#%D0%B7%D0%B0%D0%BF%D1%83%D1%81%D0%BA-%D0%B2%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%BD%D1%8B%D1%85-%D0%B4%D0%B6%D0%BE%D0%B1\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f TestOps<\/a>.<\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 \u21162. \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0437 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 Jenkins \u0434\u0436\u043e\u0431\u044b \u0432 \u043e\u0434\u0438\u043d \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a TestOps<\/h2>\n<p>\u042d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0435 \u0434\u0436\u043e\u0431\u0443 \u0438\u0437 Jenkins, \u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442\u043e\u0432 \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b \u043d\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <code>ALLURE_JOB_RUN_ID.<\/code> \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u0434\u0436\u043e\u0431\u0430\u043c \u043d\u0435\u0447\u0435\u0433\u043e.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0444\u043b\u043e\u0443 \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u044b\u043c. \u0422\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043d\u0443\u0436\u0435\u043d \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 Jenkins \u043f\u043b\u0430\u0433\u0438\u043d <strong>copyArtifacts<\/strong>, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431 \u0432 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0443\u044e.<\/p>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u044b<\/h3>\n<p>\u0412 \u0432\u043e\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0434\u0436\u043e\u0431\u0435, \u043a\u0430\u043a \u0438 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0438, \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a TestOps.<\/p>\n<h4>\u21161. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 pipeline \u0437\u0430\u043f\u0443\u0441\u043a \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431.<\/h4>\n<pre><code class=\"java\">  stage(\"Android Tests ${cycle}\") {      downstreamJob = build job: params.DOWNSTREAM_JOB,          parameters: [              string(name: 'branchName', value: 'master'),              string(name: 'platform', value: 'ANDROID'),              string(name: 'selenoidDeviceName', value: selenoidDeviceNameList),              string(name: 'selenoidEmulatorVersion', value: '13.0'),              booleanParam(name: 'isRetryEnable', value: 'false'),              string(name: 'useLatestRCBuild', value: 'true'),              string(name: 'rpLaunchName', value: cycle),              string(name: 'runCycle', value: cycle),              string(name: 'runTest', value: ''),              string(name: 'runInSelenoid', value: 'true')          ],          propagate: false            \/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 null \u043f\u0435\u0440\u0435\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c      if (downstreamJob?.number) {          echo \"Build number for ${cycle}: ${downstreamJob.number}\"      } else {          echo \"Build for ${cycle} failed to start\"      }   } <\/code><\/pre>\n<h4>\u21162. \u0412\u0442\u043e\u0440\u044b\u043c \u043f\u0443\u043d\u043a\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0448\u0430\u0433 \u0441\u0431\u043e\u0440\u0430 \u043b\u043e\u0433\u043e\u0432 \u0438\u0437 \u043d\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u0436\u043e\u0431.<\/h4>\n<pre><code class=\"java\">stage(\"Copy Results From ${cycle}\") {     script {       if (downstreamJob?.number) {         copyArtifacts(           projectName: params.DOWNSTREAM_JOB,           selector: specific(\"${downstreamJob.number}\"),           filter: 'build\/allure-results\/**\/*',           target: \".\",           flatten: false         )           sh \"ls -la build\/allure-results\/\"         } else {         echo \"No artifacts to copy for ${cycle}\"         }     }   } <\/code><\/pre>\n<h4>\u21163. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 allurectl.<\/h4>\n<pre><code class=\"java\">stages {         stage('Install allurectl') {             steps {                 script {                     sh \"\"\"                         if ! command -v .\/allurectl &amp;&gt; \/dev\/null; then                             echo \"Installing allurectl...\"                             curl -sL https:\/\/github.com\/allure-framework\/allurectl\/releases\/latest\/download\/allurectl_linux_amd64 -o allurectl                             chmod +x allurectl                             .\/allurectl --version                         else                             echo \"allurectl already installed\"                         fi                     \"\"\"                 }             }         } <\/code><\/pre>\n<p>\u042d\u0442\u043e\u0442 \u0448\u0430\u0433 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u044b\u043c<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-461467","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/461467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=461467"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/461467\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=461467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=461467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=461467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}