Open adamwong246 opened 7 years ago
according to log it doesn't see the previous state and trigger all PRs. I remember some users reporte d the same problem. Something wrong with workflow? What versions do you use?
https://github.com/KostyaSha/github-integration-plugin/issues/203#issuecomment-300902314 Looks the same. Could you read comments?
@abayer I looked at workflow-job trigger issues an PRs and i have no idea how it works at all :)
i am seeing a similar issue where trigger are ignored, I have kept bare minimum settings.
The comment is exact the same as in PR, poll log does get the github event however it doesn't trigger with message
PR [#5413 Collect build artifacts, disable cleanup] not changed
Finished GitHub Pull Request trigger check for GitHubRepositoryName
Logs:
jenkins-logs.txt polling-log.txt
There is an exception in logs :
Nov 01, 2017 4:27:04 AM SEVERE org.jenkinsci.plugins.github.pullrequest.utils.LoggingTaskListenerWrapper error
Can't end trigger check
java.lang.NullPointerException
at com.github.kostyasha.github.integration.branch.events.impl.GitHubBranchCommitEvent.check(GitHubBranchCommitEvent.java:118)
at com.github.kostyasha.github.integration.branch.events.impl.GitHubBranchCommitEvent.check(GitHubBranchCommitEvent.java:85)
at com.github.kostyasha.github.integration.branch.trigger.check.BranchToCauseConverter.toCause(BranchToCauseConverter.java:90)
at com.github.kostyasha.github.integration.branch.trigger.check.BranchToCauseConverter.lambda$apply$0(BranchToCauseConverter.java:46)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
this is resolved for me
We're attempting to configure the plugin to run PRs which are 1) without merge conflict and 2) without certain tags. We'd like the trigger to be run when a PR is created or updated.
Whenever the "GH PR trigger" is run, all PRs are put into the queue, ignoring these settings.