Skip to content

[JENKINS-17479] URL SCM always marks URL as changed with Poll SCM option#2

Open
mtrautwig wants to merge 2 commits intojenkinsci:masterfrom
mtrautwig:jenkins-17479
Open

[JENKINS-17479] URL SCM always marks URL as changed with Poll SCM option#2
mtrautwig wants to merge 2 commits intojenkinsci:masterfrom
mtrautwig:jenkins-17479

Conversation

@mtrautwig
Copy link

I noticed that Jenkins now calls 'compareRemoteRevisionWith()' instead of 'pollChanges()', but the former always returns 'PollingResult.BUILD_NOW' and so triggers a new build. Now I have just moved the former logic of 'pollChanges()' to 'compareRemoteRevisionWith()', seems to work in my case for the last 14 days.

- implement 1.392 API methods, remove the obsolete ones
@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants