[JIRA] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks "Trigger builds remotely"
Title: Message Title Even André Fiskvik commented on JENKINS-29515 Re: Github oauth breaks "Trigger builds remotely" Jesse Glick I'm able to reproduce this on jenkins-1.634-1.1 with github-oauth-plugin v 0.22.2. With "build-token-root-plugin" I have a working solution though. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Jesse Glick commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely Sam Gleske the Build Authorization Token Root plugin will only help if you define a build authorization token for the project and pass it in the web request. Otherwise you are back to requiring Job/Build permission. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely I've closed this as a duplicate. Elijah Lynn feel free to follow issue JENKINS-25791 for updates related to this. As always, contributions are welcome to help solve the issue. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske resolved as Duplicate Jenkins / JENKINS-29515 Github oauth breaks Trigger builds remotely Change By: Sam Gleske Status: Open Resolved Resolution: Duplicate Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Michael Neale commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely Thanks Sam. I think there is a structural change that can probably be made to github oauth plugin to allow the root token to work at least. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Elijah Lynn commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely Thanks for the feedback Sam and Michael. I don't actually know if this worked prior. I am just coming on to this project. But we were on 0.20 and upgraded to 0.21.2 and both did not work before. We have a temporary workaround for now, our QA automation engineer found out that we can do username:userto...@example.com/build/job/. But that ties our automation scripts to a username and token which would be ideal to leave out of the scripts. What older version do you suggest trying to test? Thanks Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely 0.20 is before PR#37 so it's likely not ever worked. I'd recommend you just generate GitHub personal access tokens and use it to trigger builds. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske edited a comment on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely 0.20isbeforePR#37soit'slikelynoteverworked.I'drecommendyoujustgenerateGitHubpersonalaccesstokensanduseittotriggerbuilds. It's[documentedinthewiki|https://wiki.jenkins-ci.org/display/JENKINS/Github+OAuth+Plugin#GithubOAuthPlugin-CallingJenkinsAPIusingGitHubPersonalAccessTokens]. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Michael Neale commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely Sam I recommend closing this and pointing to the newrely reopened: https://issues.jenkins-ci.org/browse/JENKINS-25791 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Michael Neale commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely Yes I was going to suggest that the token root plugin would solve this - but it appears Sam has already tried it. I know build root token plugin has worked for other identity providers. Based on: https://issues.jenkins-ci.org/browse/JENKINS-25791 - it looks like it is not related to PR#37 - but do you want to try an older version to check? It can't hurt. Maybe some special case code is needed for this. I don't think people come across this a lot as they tend to either a) use a github oauth token to interact with jenkins or b) use github to trigger builds directly. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Michael Neale edited a comment on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely YesIwasgoingtosuggestthatthetokenrootpluginwouldsolvethis-butitappearsSamhasalreadytriedit.Iknowbuildroottokenpluginhasworkedforotheridentityproviders.Basedon:https://issues.jenkins-ci.org/browse/JENKINS-25791-itlookslikeitisnotrelatedtoPR#37-butdoyouwanttotryanolderversiontocheck?Itcan'thurt.Maybesomespecialcasecodeisneededforthis.Idon'tthinkpeoplecomeacrossthisalotastheytendtoeithera)useagithuboauthtokentointeractwithjenkinsorb)usegithubtotriggerbuildsdirectly. Ifwecanconfirmitisn'tarecentbreakageperhapsshouldclosethisasadupeof#25791andmovediscussionovertothere? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske edited a comment on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely [~elijah_lynn]didthisusedtoworkforyouinpriorversions?Ifso,Ihaveafeelingit'srelatedto[PullRequest#37|https://github.com/jenkinsci/github-oauth-plugin/pull/37].[~michaelneale],yourthoughtsonthis? Idoubtthiseverworkedbutamhoping[~michaelneale]cangivesomeinsight. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske edited a comment on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely Thebuildtokenrootissueseemstostemfromtheinabilitytoimpersonateusers.Thebuild-token-root-pluginrunsa[SecurityContextACL.impersonate|https://github.com/jenkinsci/build-token-root-plugin/blob/f1239a38e9e9e64fb1e864c7876b66c0f66cb702/src/main/java/org/jenkinsci/plugins/build_token_root/BuildRootAction.java#L133]. Perhapsrelatedto[JENKINS-25791]. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske updated an issue Jenkins / JENKINS-29515 Github oauth breaks Trigger builds remotely Change By: Sam Gleske Component/s: build-token-root-plugin Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely This is by design in Jenkins. You would need something like the Build Authorization Token Root Plugin. I tried with the build token root plugin and still got errors. htmlheadmeta http-equiv='refresh' content='1;url="" style='background-color:white; color:white;' Authentication required !-- You are authenticated as: anonymous Groups that you are in: Permission you need to have (but didn't): hudson.model.Item.Build ... which is implied by: hudson.security.Permission.GenericUpdate ... which is implied by: hudson.security.Permission.GenericWrite ... which is implied by: hudson.model.Hudson.Administer -- /body/html It doesn't appear to bypass the security realm. Any thoughts Jesse Glick? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely The build token root issue seems to stem from the inability to impersonate users. The build-token-root-plugin runs a SecurityContext ACL.impersonate. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [build-token-root-plugin] (JENKINS-29515) Github oauth breaks Trigger builds remotely
Title: Message Title Sam Gleske commented on JENKINS-29515 Re: Github oauth breaks Trigger builds remotely Elijah Lynn did this used to work for you in prior versions? If so, I have a feeling it's related to Pull Request #37. Michael Neale, your thoughts on this? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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.