{"id":1818,"date":"2021-12-08T09:55:42","date_gmt":"2021-12-08T09:55:42","guid":{"rendered":"https:\/\/blog.samarthya.me\/wps\/?p=1818"},"modified":"2021-12-08T16:00:55","modified_gmt":"2021-12-08T16:00:55","slug":"scm-for-git-clone","status":"publish","type":"post","link":"https:\/\/blog.samarthya.me\/wps\/2021\/12\/08\/scm-for-git-clone\/","title":{"rendered":"SCM for git clone"},"content":{"rendered":"\n<p>Having used SCM plugins for quite sometime, I thought &#8211; WHY I have never used them to clone a repository and while I employ the personal access token (NOW)- The weapon of choice, I have never tried it myself. <\/p>\n\n\n\n<p>So in this blog, I will attempt to define the basic steps needed to do that.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Assumptions<\/h2>\n\n\n\n<p>I am assuming basic knowledge of Maven and plugins, else drop by and ask questions will try to address when I can.<\/p>\n\n\n\n<figure class=\"wp-block-pullquote has-background is-style-solid-color\" style=\"background-color:#ff6900\"><blockquote class=\"has-text-color has-black-color\"><p>Learn more about <a href=\"https:\/\/blog.samarthya.me\/wps\/2021\/09\/23\/personal-access-token\/\" data-type=\"URL\" data-id=\"https:\/\/blog.samarthya.me\/wps\/2021\/09\/23\/personal-access-token\/\">Personal Access Token<\/a><\/p><\/blockquote><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">General Mistake<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Using git@hostname for checkout.<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>mvn scm:checkout -DcheckoutDirectory=.\/helm-chart2 -DconnectionUrl=scm:git:git@github.com:GRP\/helm-chart.git<\/code><\/pre>\n\n\n\n<p>If you use this you will get an error like below<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;ERROR] Provider message:\n&#91;ERROR] The git-clone command failed.\n&#91;ERROR] Command output:\n&#91;ERROR] Cloning into 'helm-chart2'...\ngit@github.com: Permission denied (publickey).\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.<\/code><\/pre>\n\n\n\n<p>Though error is self explanatory but the issue is you are trying to use SSH to checkout and if you read the official documentaion about PAT<\/p>\n\n\n\n<figure class=\"wp-block-pullquote has-background has-luminous-vivid-orange-background-color is-style-solid-color\"><blockquote class=\"has-text-color has-black-color\"><p>Personal access tokens can only be used for HTTPS Git operations. If your repository uses an SSH remote URL, you will need to <a href=\"https:\/\/docs.github.com\/en\/enterprise-server@3.1\/github\/getting-started-with-github\/managing-remote-repositories\/#switching-remote-urls-from-ssh-to-https\">switch the remote from SSH to HTTPS<\/a>.<\/p><cite>github.com<\/cite><\/blockquote><\/figure>\n\n\n\n<p>Many overlook these details and hence try looking everywhere for a quick solution. So, remember to read the documentation before you search elsewhere.<\/p>\n\n\n\n<figure class=\"wp-block-pullquote has-background has-luminous-vivid-orange-background-color is-style-solid-color\"><blockquote class=\"has-text-color has-black-color\"><p>Change to HTTPS instead of GIT<\/p><\/blockquote><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>mvn scm:checkout -DcheckoutDirectory=.\/helm-chart2 -DconnectionUrl=scm:git:https:\/\/github.com\/GRP\/helm-chart.git<\/code><\/pre>\n\n\n\n<p>Once you do this you will also need the creds to be used which I have configured in my <code>settings.xml<\/code> for server with id as the hostname <code>github.com<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;servers&gt;\n &lt;server&gt;\n      &lt;id&gt;github.com&lt;\/id&gt;\n      &lt;username&gt;USERNAME&lt;\/username&gt;\n      &lt;password&gt;YOUR PERSONAL ACCESS TOKEN&lt;\/password&gt;\n    &lt;\/server&gt;\n&lt;\/servers&gt;<\/code><\/pre>\n\n\n\n<p>Once you make the changes and issue the command you will eventually see the message below<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helm-chart2\n&#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] BUILD SUCCESS\n&#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] Total time:  17.082 s\n&#91;INFO] Finished at: 2021-12-08T14:11:38+05:30\n&#91;INFO] ------------------------------------------------------------------------<\/code><\/pre>\n\n\n\n<p>The essential two steps <code>prepare<\/code> and <code>perform<\/code> for the release plugin can also be followed subsequently to validate artifact generation as covered in other blog <a rel=\"noreferrer noopener\" href=\"https:\/\/blog.samarthya.me\/wps\/2021\/09\/23\/building-your-artifacts\/\" target=\"_blank\">here<\/a>. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">mvn <code>release:prepare<\/code><\/h3>\n\n\n\n<p>For my code base the sample output is as under<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nsamarthya@Admins-MacBook-Pro helmchart % mvn release:prepare\n&#91;INFO] Scanning for projects...\n&#91;INFO] \n&#91;INFO] ------------------------&lt; com.samarthya:restmon &gt;------------------------\n&#91;INFO] Building Open data connector helm chart 21.4.0-SNAPSHOT\n&#91;INFO] --------------------------------&#91; helm ]--------------------------------\n&#91;INFO] \n&#91;INFO] --- maven-release-plugin:3.0.0-M4:prepare (default-cli) @ restmon ---\n&#91;INFO] phase verify-release-configuration\n&#91;INFO] starting prepare goal, composed of 17 phases: check-poms, scm-check-modifications, check-dependency-snapshots, create-backup-poms, map-release-versions, input-variables, map-development-versions, rewrite-poms-for-release, generate-release-poms, run-preparation-goals, scm-commit-release, scm-tag, rewrite-poms-for-development, remove-release-poms, run-completion-goals, scm-commit-development, end-release\n&#91;INFO] &#91;prepare] 1\/17 check-poms\n&#91;INFO] &#91;prepare] 2\/17 scm-check-modifications\n&#91;INFO] Verifying that there are no local modifications...\n&#91;INFO]   ignoring changes on: **\/pom.xml.releaseBackup, **\/pom.xml.next, **\/pom.xml.tag, **\/pom.xml.branch, **\/release.properties, **\/pom.xml.backup\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git rev-parse --show-prefix\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git status --porcelain .\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] &#91;prepare] 3\/17 check-dependency-snapshots\n&#91;INFO] Checking dependencies and plugins for snapshots ...\n&#91;INFO] &#91;prepare] 4\/17 create-backup-poms\n&#91;INFO] &#91;prepare] 5\/17 map-release-versions\n&#91;INFO] &#91;prepare] 6\/17 input-variables\n&#91;INFO] &#91;prepare] 7\/17 map-development-versions\n&#91;INFO] &#91;prepare] 8\/17 rewrite-poms-for-release\n&#91;INFO] Transforming 'My connector helm chart'...\n&#91;INFO] &#91;prepare] 9\/17 generate-release-poms\n&#91;INFO] Not generating release POMs\n&#91;INFO] &#91;prepare] 10\/17 run-preparation-goals\n&#91;INFO] Executing goals 'clean verify'...\n&#91;INFO] &#91;INFO] Scanning for projects...\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] ------------------------&lt; com.samarthya:mychart &gt;------------------------\n&#91;INFO] &#91;INFO] Building Open data connector helm chart 21.4.0\n&#91;INFO] &#91;INFO] --------------------------------&#91; helm ]--------------------------------\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ restmon ---\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] --- helm-maven-plugin:5.9:init (default-init) @ restmon ---\n&#91;INFO] &#91;INFO] Initializing Helm...\n&#91;INFO] &#91;INFO] Creating output directory...\n&#91;INFO] &#91;INFO] Using local HELM binary &#91;\/usr\/local\/bin\/helm]\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] --- helm-maven-plugin:5.9:lint (default-lint) @ restmon ---\n&#91;INFO] &#91;INFO] \n&#91;INFO] \n&#91;INFO] Testing chart \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/src...\n&#91;INFO] &#91;INFO] ==&gt; Linting \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/src\n&#91;INFO] &#91;INFO] &#91;INFO] Chart.yaml: icon is recommended\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] 1 chart(s) linted, 0 chart(s) failed\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] --- helm-maven-plugin:5.9:package (default-package) @ restmon ---\n&#91;INFO] &#91;INFO] Packaging chart \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/src...\n&#91;INFO] &#91;INFO] Setting chart version to 21.4.0\n&#91;INFO] &#91;INFO] Setting App version to 21.4.0\n&#91;INFO] &#91;INFO] Successfully packaged chart and saved it to: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/restmon-21.4.0.tgz\n&#91;INFO] &#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] &#91;INFO] BUILD SUCCESS\n&#91;INFO] &#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] &#91;INFO] Total time:  0.683 s\n&#91;INFO] &#91;INFO] Finished at: 2021-12-08T15:55:46+05:30\n&#91;INFO] &#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] &#91;prepare] 11\/17 scm-commit-release\n&#91;INFO] Checking in modified POMs...\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git add -- pom.xml\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git rev-parse --show-prefix\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git status --porcelain .\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git commit --verbose -F \/var\/folders\/n5\/25dlb6295m9_7nnslmz4wdmc0000gp\/T\/maven-scm-2136851052.commit\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git symbolic-ref HEAD\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git push https:\/\/samarthya:********@github.com\/GRP\/helmchart.git refs\/heads\/integration:refs\/heads\/integration\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] &#91;prepare] 12\/17 scm-tag\n&#91;INFO] Tagging release with the label 21.4.0...\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git tag -F \/var\/folders\/n5\/25dlb6295m9_7nnslmz4wdmc0000gp\/T\/maven-scm-2144724858.commit 21.4.0\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git push https:\/\/samarthya:********@github.com\/GRP\/helmchart.git refs\/tags\/21.4.0\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git ls-files\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] &#91;prepare] 13\/17 rewrite-poms-for-development\n&#91;INFO] Transforming 'My connector helm chart'...\n&#91;INFO] &#91;prepare] 14\/17 remove-release-poms\n&#91;INFO] Not removing release POMs\n&#91;INFO] &#91;prepare] 15\/17 run-completion-goals\n&#91;INFO] &#91;prepare] 16\/17 scm-commit-development\n&#91;INFO] Checking in modified POMs...\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git add -- pom.xml\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git rev-parse --show-prefix\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git status --porcelain .\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git commit --verbose -F \/var\/folders\/n5\/25dlb6295m9_7nnslmz4wdmc0000gp\/T\/maven-scm-663764717.commit\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git symbolic-ref HEAD\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart &amp;&amp; git push https:\/\/samarthya:********@github.com\/GRP\/helmchart.git refs\/heads\/integration:refs\/heads\/integration\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\n&#91;INFO] &#91;prepare] 17\/17 end-release\n&#91;INFO] Release preparation complete.\n&#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] BUILD SUCCESS\n&#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] Total time:  21.736 s\n&#91;INFO] Finished at: 2021-12-08T15:56:05+05:30\n&#91;INFO] ------------------------------------------------------------------------<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">mvn <code>release:perform<\/code><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>samarthya@Admins-MacBook-Pro helmchart % mvn release:perform\n&#91;INFO] Scanning for projects...\n&#91;INFO] \n&#91;INFO] ------------------------&lt; com.samarthya:mychart &gt;------------------------\n&#91;INFO] Building My connector helm chart 21.4.1-SNAPSHOT\n&#91;INFO] --------------------------------&#91; helm ]--------------------------------\n&#91;INFO] \n&#91;INFO] --- maven-release-plugin:3.0.0-M4:perform (default-cli) @ mychart ---\n&#91;INFO] phase verify-release-configuration\n&#91;INFO] starting perform goal, composed of 3 phases: verify-completed-prepare-phases, checkout-project-from-scm, run-perform-goals\n&#91;INFO] &#91;perform] 1\/3 verify-completed-prepare-phases\n&#91;INFO] &#91;perform] 2\/3 checkout-project-from-scm\n&#91;INFO] Checking out the project to perform the release ...\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target &amp;&amp; git clone --depth 1 --branch 21.4.0 https:\/\/samarthya:********@github.com\/ESD\/helmchart.git checkout\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\n&#91;INFO] Executing: \/bin\/sh -c cd \/var\/folders\/n5\/25dlb6295m9_7nnslmz4wdmc0000gp\/T\/ &amp;&amp; git ls-remote https:\/\/samarthya:********@github.com\/ESD\/helmchart.git\n&#91;INFO] Working directory: \/var\/folders\/n5\/25dlb6295m9_7nnslmz4wdmc0000gp\/T\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout &amp;&amp; git fetch https:\/\/samarthya:********@github.com\/ESD\/helmchart.git\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout &amp;&amp; git checkout 21.4.0\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\n&#91;INFO] Executing: \/bin\/sh -c cd \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout &amp;&amp; git ls-files\n&#91;INFO] Working directory: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\n&#91;INFO] &#91;perform] 3\/3 run-perform-goals\n&#91;INFO] Invoking perform goals in directory \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\n&#91;INFO] Executing goals 'deploy'...\n&#91;INFO] pomFileName is already set, ignoring the -f argument\n&#91;INFO] &#91;INFO] Scanning for projects...\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] ------------------------&lt; com.samarthya:mychart &gt;------------------------\n&#91;INFO] &#91;INFO] Building Open data connector helm chart 21.4.0\n&#91;INFO] &#91;INFO] --------------------------------&#91; helm ]--------------------------------\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] --- helm-maven-plugin:5.9:init (default-init) @ mychart ---\n&#91;INFO] &#91;INFO] Initializing Helm...\n&#91;INFO] &#91;INFO] Creating output directory...\n&#91;INFO] &#91;INFO] Using local HELM binary &#91;\/usr\/local\/bin\/helm]\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] --- helm-maven-plugin:5.9:lint (default-lint) @ mychart ---\n&#91;INFO] &#91;INFO] \n&#91;INFO] \n&#91;INFO] Testing chart \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\/src...\n&#91;INFO] &#91;INFO] ==&gt; Linting \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\/src\n&#91;INFO] &#91;INFO] &#91;INFO] Chart.yaml: icon is recommended\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] 1 chart(s) linted, 0 chart(s) failed\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] --- helm-maven-plugin:5.9:package (default-package) @ mychart ---\n&#91;INFO] &#91;INFO] Packaging chart \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\/src...\n&#91;INFO] &#91;INFO] Setting chart version to 21.4.0\n&#91;INFO] &#91;INFO] Setting App version to 21.4.0\n&#91;INFO] &#91;INFO] Successfully packaged chart and saved it to: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\/target\/mychart-21.4.0.tgz\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] --- helm-maven-plugin:5.9:package (install) @ mychart ---\n&#91;INFO] &#91;INFO] Packaging chart \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\/src...\n&#91;INFO] &#91;INFO] Setting chart version to 21.4.0\n&#91;INFO] &#91;INFO] Setting App version to 21.4.0\n&#91;INFO] &#91;INFO] Successfully packaged chart and saved it to: \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\/target\/mychart-21.4.0.tgz\n&#91;INFO] &#91;INFO] \n&#91;INFO] &#91;INFO] --- helm-maven-plugin:5.9:upload (default-upload) @ mychart ---\n&#91;INFO] &#91;INFO] Uploading to https:\/\/helm-release-local.artifactory.samarthya.net:443\/artifactory\/helm-release-local\/odc\/21.4.0\/mychart\n&#91;INFO] \n&#91;INFO] &#91;INFO] Uploading \/Users\/samarthya\/sourcebox\/github.com\/helmchart\/target\/checkout\/target\/mychart-21.4.0.tgz...\n&#91;INFO] &#91;INFO] 201 - {\n&#91;INFO]   \"repo\" : \"helm-release-local\",\n&#91;INFO]   \"path\" : \"\/odc\/21.4.0\/mychart\/mychart-21.4.0.tgz\",\n&#91;INFO]   \"created\" : \"2021-12-08T02:26:34.414-08:00\",\n&#91;INFO]   \"createdBy\" : \"samarthya\",\n&#91;INFO]   \"downloadUri\" : \"https:\/\/helm-release-local.artifactory.samarthya.net:443\/artifactory\/helm-release-local\/odc\/21.4.0\/mychart\/mychart-21.4.0.tgz\",\n&#91;INFO]   \"mimeType\" : \"application\/x-gzip\",\n&#91;INFO]   \"size\" : \"13998\",\n&#91;INFO]   \"checksums\" : {\n&#91;INFO]     \"sha1\" : \"455a8badc378b210edf4fd2c6e7331cd9c30fc09\",\n&#91;INFO]     \"md5\" : \"baa150bcb8c0c2046e4c1ae3b2839a27\",\n&#91;INFO]     \"sha256\" : \"16fabb165fb7554b5265d9cf6b1954b487e3195afb3c872eef764b232d22bdc2\"\n&#91;INFO]   },\n&#91;INFO]   \"originalChecksums\" : {\n&#91;INFO]     \"sha256\" : \"16fabb165fb7554b5265d9cf6b1954b487e3195afb3c872eef764b232d22bdc2\"\n&#91;INFO]   },\n&#91;INFO]   \"uri\" : \"https:\/\/helm-release-local.artifactory.samarthya.net:443\/artifactory\/helm-release-local\/odc\/21.4.0\/mychart\/mychart-21.4.0.tgz\"\n&#91;INFO] }\n&#91;INFO] &#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] &#91;INFO] BUILD SUCCESS\n&#91;INFO] &#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] &#91;INFO] Total time:  5.531 s\n&#91;INFO] &#91;INFO] Finished at: 2021-12-08T15:56:34+05:30\n&#91;INFO] &#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] phase cleanup\n&#91;INFO] Cleaning up after release...\n&#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] BUILD SUCCESS\n&#91;INFO] ------------------------------------------------------------------------\n&#91;INFO] Total time:  22.591 s\n&#91;INFO] Finished at: 2021-12-08T15:56:34+05:30\n&#91;INFO] ------------------------------------------------------------------------<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Having used SCM plugins for quite sometime, I thought &#8211; WHY I have never used them to clone a repository and while I employ the personal access token (NOW)- The weapon of choice, I have never tried it myself. So in this blog, I will attempt to define the basic steps needed to do that. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1188,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[34],"tags":[206,209,193,207],"class_list":["post-1818","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-technical","tag-checkout","tag-git","tag-pat","tag-scm","post_format-post-format-image"],"_links":{"self":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/posts\/1818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/comments?post=1818"}],"version-history":[{"count":0,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/posts\/1818\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/media\/1188"}],"wp:attachment":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/media?parent=1818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/categories?post=1818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/tags?post=1818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}