{"id":2094,"date":"2017-12-07T10:18:24","date_gmt":"2017-12-07T10:18:24","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2094"},"modified":"2021-11-18T06:46:52","modified_gmt":"2021-11-18T06:46:52","slug":"does-jenkins-let-you-create-branches","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/does-jenkins-let-you-create-branches\/","title":{"rendered":"Does Jenkins let you create branches?"},"content":{"rendered":"<p><strong>To craete a new git branch using jenkins, you may follow the steps.<\/strong><\/p>\n<p>Step 1 &#8211; Edit the job which you are using to create a branch.<\/p>\n<p>Step 2 &#8211; Go to &#8220;Post-build Actions&#8221; and from &#8220;Add post-build action&#8221; list, select &#8220;Git publisher&#8221; and under &#8220;Branches&#8221; section craete a new branch. Please refer the attached image.<\/p>\n<p><strong><a href=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2017\/12\/create-git-branch-using-jenkins.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5927\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2017\/12\/create-git-branch-using-jenkins.jpg\" alt=\"\" width=\"920\" height=\"645\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2017\/12\/create-git-branch-using-jenkins.jpg 920w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2017\/12\/create-git-branch-using-jenkins-300x210.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2017\/12\/create-git-branch-using-jenkins-768x538.jpg 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2017\/12\/create-git-branch-using-jenkins-660x463.jpg 660w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2017\/12\/create-git-branch-using-jenkins-200x140.jpg 200w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/a><\/strong><\/p>\n<p>If you would to know the steps of any other tools, please leave a comments in below sections.<\/p>\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_23801\"><iframe loading=\"lazy\"  id=\"_ytid_41171\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_23801\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>To craete a new git branch using jenkins, you may follow the steps. Step 1 &#8211; Edit the job which you are using to create a branch. Step 2 &#8211;&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[42],"tags":[145],"class_list":["post-2094","post","type-post","status-publish","format-standard","hentry","category-jenkins","tag-jenkins"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2094","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=2094"}],"version-history":[{"count":4,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2094\/revisions"}],"predecessor-version":[{"id":25691,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2094\/revisions\/25691"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}