Closed JonSnowWhite closed 3 years ago
The problem was in my refspec. Changing it to +refs/pull/*:refs/remotes/origin/pr/*
did the trick.
For completeness sake: The append build log option did not appear on my project settings, only in my global settings. This was fixable by copying
<org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildLog>
<logExcerptLines>25</logExcerptLines>
</org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildLog>
to $jenkins_home/jobs/<my_job>/config.xml
into the trigger section
Version report
Jenkins and plugins versions report:
Reproduction steps
Results
Expected result:
With these settings I would expect the plugin to update the build status on the pull request and comment on the pull request with "test".
Actual result:
The plugin is able to update the build status as follows
However, no message is send.
Jenkins/the plugin is able to write a test comment in Jenkins' global option. Therefore, I suspect the access rights to be correct as well.