-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Issue
Impacted version: 4.23.0
- jenkins: 2.107.1
- github-branch-source: 2.3.3
- github-api: 1.90
Deployment mode: Standalone war file
Problem description:
I'm pretty confident this used to work, but I haven't been able to play with my jenkins/gitbucket setup at home in a while. The problem I'm seeing is that jenkins is no longer picking up the master branch to do builds on. It's not selecting the branch to do work.
Organization URL: https://gitbucket.light.kow.is/dkowis
[Sun Apr 08 21:33:23 CDT 2018] Consulting GitHub Organization
21:33:23 Connecting to https://gitbucket.light.kow.is/api/v3 using dkowis/****** (David Kowis' Credentials)
21:33:23 Looking up repositories of myself dkowis
Proposing monopolytracker
Examining dkowis/monopolytracker
Checking branches...
Getting remote branches...
Checking branch master
Getting remote pull requests...
‘Jenkinsfile’ not found
Does not meet criteria
1 branches were processed
Checking pull-requests...
0 pull requests were processed
Finished examining dkowis/monopolytracker
There's only one branch, and it's got a Jenkinsfile
, so it should be selected to build, but it appears that it's somehow unable to find that Jenkinsfile, and so is not building anything at all.
It will pick up pull requests, and other branches and build those, but it doesn't seem to do it until after the scan happens. I'm not sure if the pull request payload changed, but I don't think that's it. There's no errors in the log from Jenkins.
INFO: dkowis_organization #20180408.212946 organization scan action completed: SUCCESS in 1.4 sec
Apr 08, 2018 9:30:22 PM org.jenkinsci.plugins.github.webhook.WebhookManager$1 run
INFO: GitHub webhooks activated for job dkowis_organization with [] (events: [REPOSITORY])
Apr 08, 2018 9:30:22 PM org.jenkinsci.plugins.github_branch_source.GitHubOrgWebHook register
WARNING: Failed to register GitHub Org hook to https://gitbucket.light.kow.is/dkowis (missing permissions?): {"message":"Not Found"}
Apr 08, 2018 9:30:30 PM jenkins.branch.OrganizationFolder$OrganizationScan run
INFO: dkowis_organization #20180408.213022 organization scan action completed: SUCCESS in 7.8 sec