Code Snippet

Just another Code Snippet site

Git

Jenkins/Git : Build new tags

Make the job fetch tags as if they were branches: Click on the Advanced button below the repository URL and enter the Refspec : Have it build all tag “branches” with the Branch Specifier : Enable SCM polling, so that the job detects new tags. The first time the job will start, it will trigger […]

,

Jenkins / Gitlab : Merge Request

Follow the installation procedure from “Gitlab Merge Request Builder Plugin”. The jenkins job must contains parameters, at least : gitlabSourceBranch and gitlabTargetBranch. GitLab : In case the webhooks test return a 403 error, the Jenkins Security configuration must be updated as follows : Jenkins > Configure Global Security : Uncheck “Prevent Cross Site Request Forgery exploits” Markeup […]

,

SVN to Git Migration

Create an author mapping file like : Import the SVN repo in a new empty folder Update Commit message to remove “git-svn-id” Create a new Git repo. Add new origin to local repo and push to master

,

Previous Posts