jenkinsci / pipeline-github-plugin

Pipeline: GitHub
https://plugins.jenkins.io/pipeline-github/
MIT License
159 stars 73 forks source link

pullRequestReview Trigger Not Available #96

Closed allout58 closed 3 years ago

allout58 commented 3 years ago

I am not able to use the pullRequestReview trigger with v2.7 installed.

With the trigger

  triggers {
    pullRequestReview(reviewStates: ['approved'])
  }

I get the following errors trying to start the job

10:09:42  WorkflowScript: 10: Invalid trigger type "pullRequestReview". Valid trigger types: [upstream, cron, githubBranches, githubPullRequests, githubPush, issueCommentTrigger, pollSCM] @ line 10, column 5.
10:09:42         pullRequestReview(reviewStates: ['approved'])

I can see the issueCommentTrigger, but not the pullRequestReview trigger.

alexbde commented 3 years ago

Same here! Any update on this?

pgAdmin commented 3 years ago

@aaronwalker ^

aaronwalker commented 3 years ago

@allout58 @alexbde @pgAdmin I will push out a 2.8 release as soon as I am able to. Currently releases are disabled for all plugins due to a security event https://www.jenkins.io/blog/2021/09/04/wiki-attacked/

pgAdmin commented 3 years ago

Meanwhile I am using the master branch directly in my Jenkins server and it is working fine.

aaronwalker commented 3 years ago

Closing as releases now enabled again and release https://github.com/jenkinsci/pipeline-github-plugin/releases/tag/2.8-138.d766e30bb08b is now available