Olá realizando a última atividade do curso referente a tratamento de branches, estou recebendo um erro ao jenkins via git tentar realizar o push da alteração no projeto argentum-web. Abaixo segue um o final do log de saída do jenkins na build com erro. Pelo que eu pesquisei na internet se trata de falta de permissão de commit no repositório do projeto.
[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.985 s [INFO] Finished at: 2016-09-09T16:54:59-03:00 [INFO] Final Memory: 47M/412M [INFO] ------------------------------------------------------------------------ Injecting SonarQube environment variables using the configuration: SonarQube
git tag -l jenkins-argentum-web-46 # timeout=10 git tag -a -f -m Jenkins Build #46 jenkins-argentum-web-46-SUCCESS # timeout=10 Pushing HEAD to branch master of origin repository git --version # timeout=10 using .gitcredentials to set credentials git config --local credential.username douglascpereira@gmail.com # timeout=10 git config --local credential.helper store --file=/tmp/git730003667158391501.credentials # timeout=10 git -c core.askpass=true push https://github.com/alura-cursos/argentum-web.git HEAD:master git config --local --remove-section credential # timeout=10 ERROR: Failed to push merge to origin repository hudson.plugins.git.GitException: Command "git -c core.askpass=true push https://github.com/alura-cursos/argentum-web.git HEAD:master" returned status code 128: stdout: stderr: error: The requested URL returned error: 403 while accessing https://github.com/alura-cursos/argentum-web.git/info/refs fatal: HTTP request failed
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1740) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1476) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$8.execute(CliGitAPIImpl.java:1816) at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:235) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Build step 'Git Publisher' marked build as failure Finished: FAILURE