{"id":2110,"date":"2017-12-07T10:44:10","date_gmt":"2017-12-07T10:44:10","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2110"},"modified":"2020-01-09T09:44:39","modified_gmt":"2020-01-09T09:44:39","slug":"questions-on-hudson","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/questions-on-hudson\/","title":{"rendered":"Questions on Hudson"},"content":{"rendered":"<p><strong>scmuser created the topic: Questions on Hudson<\/strong><br \/>\nHi,<\/p>\n<p>I have setup Hudson successfully and covered all most all the features. But Still i have some question which want to get clarify with the help of community members.<\/p>\n<p>1. Each Project Build Number in Hudson and build artifact folder naming are different. How can we match up so it should be with Hudon Build number.<br \/>\n2. Upon successful build, how can i get the build artifact link for each build of Hudson Dashboard?<\/p>\n<p><strong>rajeshkumar replied the topic: Re:Questions on Hudson<\/strong><br \/>\nreply from hudson community&#8230;<\/p>\n<p>> 1. Each Project Build Number in Hudson and build artifact folder naming are<br \/>\n> different. How can we match up so it should be with Hudon Build number.<\/p>\n<p>Hudson provides your build scripts an environment variable<br \/>\nBUILD_NUMBER which is an increasing integer. You are free to use that<br \/>\nor ignore it and come up with your own way of identifying your builds.<\/p>\n<p>If want to increment Hudson&#8217;s build number, edit the file buildNumber<br \/>\nwhich is in HUDSON_HOME\/jobs\/JOBNAME and then go to Manage Hudson -><br \/>\nReload configuration files from disk.<\/p>\n<p>> 2. Upon successful build, how can i get the build artifact link for each<br \/>\n> build of Hudson Dashboard?<\/p>\n<p>If I understand you correctly, you are looking for the permalinks in<br \/>\nthe page for each project. I.e. <a href=\"http:\/\/YOURHUDSON\/job\/JOBNAME\/\">http:\/\/YOURHUDSON\/job\/JOBNAME\/<\/a><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>scmuser created the topic: Questions on Hudson Hi, I have setup Hudson successfully and covered all most all the features. But Still i have some question which want to get&#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":[429],"class_list":["post-2110","post","type-post","status-publish","format-standard","hentry","category-jenkins","tag-hudson"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2110","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=2110"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2110\/revisions"}],"predecessor-version":[{"id":2111,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2110\/revisions\/2111"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}