[JIRA] (JENKINS-40150) Git operations fail after global lib is loaded
Title: Message Title Kirill Merkushev commented on JENKINS-40150 Re: Git operations fail after global lib is loaded Can you add more detailed example? I'm not very familiar with pipeline ecosystem, so it will be very helpful if i can reproduce exact your usecase. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40150) Git operations fail after global lib is loaded
Title: Message Title Kirill Merkushev commented on JENKINS-40150 Re: Git operations fail after global lib is loaded I'll add provider Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40150) Git operations fail after global lib is loaded
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-40150 Git operations fail after global lib is loaded Use status notifications from github-branch-source, which will track SCMRevisionAction, or make GitHubCommitStatusSetter do the same. Change By: Jesse Glick Component/s: github-plugin Component/s: workflow-cps-global-lib-plugin Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email
[JIRA] (JENKINS-40150) Git operations fail after global lib is loaded
Title: Message Title Kanstantsin Shautsou edited a comment on JENKINS-40150 Re: Git operations fail after global lib is loaded Workflow, cps or whatever it is probably should set context of executed code to job. I see nothing that github-plugin could do for workflow magic. If somebody will know solution, issue could be reopened get github-plugin component back . Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40150) Git operations fail after global lib is loaded
Title: Message Title Kanstantsin Shautsou updated an issue Jenkins / JENKINS-40150 Git operations fail after global lib is loaded Change By: Kanstantsin Shautsou Component/s: github-plugin Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40150) Git operations fail after global lib is loaded
Title: Message Title Kanstantsin Shautsou commented on JENKINS-40150 Re: Git operations fail after global lib is loaded Workflow, cps or whatever it is probably should set context of executed code to job. I see nothing that github-plugin could do for workflow magic. If somebody will know solution, issue could be reopened. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40150) Git operations fail after global lib is loaded
Title: Message Title Gijs Kunze updated an issue Jenkins / JENKINS-40150 Git operations fail after global lib is loaded Change By: Gijs Kunze We have a single global library defined loaded from github. When we're running longer-running builds, we set the status of the commit using the GitHubCommitStatusSetter step:{code:java}step([$class: 'GitHubCommitStatusSetter', statusResultSource: [$class: 'ConditionalStatusResultSource', results: []]]){code}Say the library is called LIB and the project we're building (also on github) is APP, when the above step is executed it tries to set the commit status with the commit-hash from APP on the repository LIB, which then fails because the LIB doesn't have this commit hash.{ code noformat } org.jenkinsci.plugins.github.common.CombineErrorHandler$ErrorHandlingException: java.io.FileNotFoundException: {"message":"No commit found for SHA: 172fd52d6393fae44ee1d962dc26098846489e1e","documentation_url":"https://developer.github.com/v3/repos/statuses/"}{ /code noformat }I think I can around this by explicitly specifying the repository in the GitHubCommitStatusSetter but ideally that shouldn't be necessary. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-40150) Git operations fail after global lib is loaded
Title: Message Title Gijs Kunze created an issue Jenkins / JENKINS-40150 Git operations fail after global lib is loaded Issue Type: Bug Assignee: Kirill Merkushev Components: github-plugin, workflow-cps-global-lib-plugin Created: 2016/Dec/01 12:33 PM Environment: Jenkins 2.21 Labels: github pipeline Priority: Minor Reporter: Gijs Kunze We have a single global library defined loaded from github. When we're running longer-running builds, we set the status of the commit using the GitHubCommitStatusSetter step: step([$class: 'GitHubCommitStatusSetter', statusResultSource: [$class: 'ConditionalStatusResultSource', results: []]]) Say the library is called LIB and the project we're building (also on github) is APP, when the above step is executed it tries to set the commit status with the commit-hash from APP on the repository LIB, which then fails because the LIB doesn't have this commit hash.