{"push_id":2145843931,"size":1,"distinct_size":1,"ref":"refs/heads/pr/credentialsId","head":"274b81897552c4a414954b47d73f3a8835cd41ed","before":"d46c412cd81e6e7610695bbc6d7a7c9c80bc9724","commits":[{"sha":"274b81897552c4a414954b47d73f3a8835cd41ed","author":{"name":"Marcus Holl","email":"3303035d5a429ec4a838ba3ccc70b96191b36b9c@sap.com"},"message":"Use more convenient way to checkout the project sources.\n\nWith that approach the project sources are checked out using\nprojectUrl, branch and credentials from the job configuration.\n\nIn case of using this pipeline script as a central pipeline\nscript, not contained in the project sources, but served from a\ncentral repo, the projectUrl and the branch of the \"payload\"\nrepo needed to be provided via job parameters. This way is\nnow not supported anymore.\n\nInstead the \"payload\" repo needs to be referenced always directly in\nthe job configuration. Hence there is no need anymore for having\nrepository URL and branch as job parameters. The central pipeline\nscript is now expected to be loaded from a stub pipeline script\nlocated in the \"payload\" repo.\n\nAdvantage of that approach: In case the \"payload\" repo is protected\nwith credentials we can use directly use the credentialsId which is\nprovided in the job configuration together with repoUrl and branch.\nBefore this was not possible since the repoUrl, the branch and the\ncredentialsId configured in the job was thatone of the central\npipeline script rather than thatpone of the \"payload\" repo.","distinct":true,"url":"https://api.github.com/repos/marcusholl/jenkins-pipelines/commits/274b81897552c4a414954b47d73f3a8835cd41ed"}]}
{"actor":{"display_login":"marcusholl"}}