[JIRA] (JENKINS-43290) PollSCM doesn't update the latest hash, so when running "Scan Repository"/"Branch Indexing" it repeats builds

2 views
Skip to first unread message

chai.bapat@gmail.com (JIRA)

unread,
Mar 8, 2020, 1:44:06 AM3/8/20
to jenkinsc...@googlegroups.com
Chaitanya Bapat commented on Bug JENKINS-43290
 
Re: PollSCM doesn't update the latest hash, so when running "Scan Repository"/"Branch Indexing" it repeats builds

Hey Stephen since https://issues.jenkins-ci.org/browse/JENKINS-41072 hasn't been resolved yet. How else do you suggest can I use AWS Services for communication between Github and Jenkins?

I have AWS Lambda function that GitHub WebHook points to. I filter Github events and only if specified comment is made on a PR, I want to trigger a build on Jenkins. However, after disabling the <jenkins-server>/github-webhook from Github, Jenkins doesn't discover new PR branches and as a result I have to manually scan the repo everytime for a new PR so as to be able to use the Lambda function to trigger a job (job fails if the branch isn't discovered).

How else can I use Lambda function to trigger branch discovery on Jenkins? or how else should I solve the problem of triggering build on Jenkins based on AWS Lambda function?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages