[jenkinsci/pipeline-github-plugin] 3925f9: Minor refactoring due to https://jenkins.io/securi...

2018-04-08 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/pipeline-github-plugin
  Commit: 3925f92e2b7e79bc60255eee4d411475e6427aaa
  
https://github.com/jenkinsci/pipeline-github-plugin/commit/3925f92e2b7e79bc60255eee4d411475e6427aaa
  Author: Aaron Whiteside 
  Date:   2018-02-28 (Wed, 28 Feb 2018)

  Changed paths:
M README.md
M pom.xml
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/CommitFileGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/CommitGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/CommitStatusGroovyObject.java
M src/main/java/org/jenkinsci/plugins/pipeline/github/GitHubHelper.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/IssueCommentGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/PullRequestGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/ReviewCommentGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/client/ExtendedIssueService.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/client/ExtendedPullRequestService.java

  Log Message:
  ---
  Minor refactoring due to 
https://jenkins.io/security/advisory/2017-07-10/#unsafe-methods-in-the-default-whitelist-in-script-security-plugin

ExtendedIssueService.java
ExtendedPullRequestService.java
- replaced varargs with `List`s

CommitFileGroovyObject.java
CommitGroovyObject.java
CommitStatusGroovyObject.java
IssueCommentGroovyObject.java
ReviewCommentGroovyObject.java
- converted all properties into bean style methods
- added @Whitelisted to the bean style methods

GitHubHelper.java
- no longer use the deprecated method `getScanCredentialsId()` in 
`GitHubSCMSource`

PullRequestGroovyObject.java
- converted all properties into bean style methods
- added @Whitelisted to the bean style methods
- added missing `setAssignees()` method
- converted all varargs to `List`s

pom.xml
- bumped the projects major version, because the API changes are not backwards 
compatible for existing pipelines
- bumped parent pom version
- bumped minimum jenkins version, latest LTS release
- bumped various dependencies
- added a missing test dependency
- removed redundant maven plugin definition, fixed with latest parent pom 
version

README.md
- added usage examples for the trigger and `pullRequest` global variable in 
both scripted and declarative pipeline styles
- updated documentation to match new bean style access instead of property 
style access
- updated documentation to show `List` usage for setting collections instead of 
varargs.
- fixed a few typos along the way


  Commit: 97b8568a843d7af79e3483df9a3a7eb3eb3a1284
  
https://github.com/jenkinsci/pipeline-github-plugin/commit/97b8568a843d7af79e3483df9a3a7eb3eb3a1284
  Author: Aaron Whiteside 
  Date:   2018-02-28 (Wed, 28 Feb 2018)

  Changed paths:
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/PullRequestGroovyObject.java

  Log Message:
  ---
  PullRequestGroovyObject.java
- fix up imports


  Commit: f2faea2a802040e74f4caa7c04fd583712bc7514
  
https://github.com/jenkinsci/pipeline-github-plugin/commit/f2faea2a802040e74f4caa7c04fd583712bc7514
  Author: Deiwin Sarjas 
  Date:   2018-03-28 (Wed, 28 Mar 2018)

  Changed paths:
M README.md
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/PullRequestGroovyObject.java

  Log Message:
  ---
  Add getter for PR head branch name

This is useful, for example, for deleting the head branch after merging the PR.


  Commit: 76ab4851f8c60c93f01ef256d9ae039ee9ea9074
  
https://github.com/jenkinsci/pipeline-github-plugin/commit/76ab4851f8c60c93f01ef256d9ae039ee9ea9074
  Author: Deiwin Sarjas 
  Date:   2018-04-04 (Wed, 04 Apr 2018)

  Changed paths:
M README.md
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/trigger/GitHubEventSubscriber.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/trigger/IssueCommentCause.java

  Log Message:
  ---
  Expose additional trigger information from build cause

With this, it should be possible to use multiple different triggers and to
execute different steps based on the particular trigger. It also provides a way
to notify the user who triggered the build via GitHub comments.

The full comment is exposed so that trigger commands could be parameterized.
E.g. extracting the module name from `test module-x`, which matches a generic
`test.*` trigger.


  Commit: 83c6070e2366585287497438bc3282d3d43e2100
  
https://github.com/jenkinsci/pipeline-github-plugin/commit/83c6070e2366585287497438bc3282d3d43e2100
  Author: Aaron Whiteside 
  Date:   2018-04-08 (Sun, 08 Apr 2018)

  Changed paths:
M pom.xml
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/client/ExtendedPullRequest.java

  Log Message:
  

[jenkinsci/pipeline-github-plugin] 3925f9: Minor refactoring due to https://jenkins.io/securi...

2018-02-28 Thread GitHub
  Branch: refs/heads/refactoring
  Home:   https://github.com/jenkinsci/pipeline-github-plugin
  Commit: 3925f92e2b7e79bc60255eee4d411475e6427aaa
  
https://github.com/jenkinsci/pipeline-github-plugin/commit/3925f92e2b7e79bc60255eee4d411475e6427aaa
  Author: Aaron Whiteside 
  Date:   2018-02-28 (Wed, 28 Feb 2018)

  Changed paths:
M README.md
M pom.xml
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/CommitFileGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/CommitGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/CommitStatusGroovyObject.java
M src/main/java/org/jenkinsci/plugins/pipeline/github/GitHubHelper.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/IssueCommentGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/PullRequestGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/ReviewCommentGroovyObject.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/client/ExtendedIssueService.java
M 
src/main/java/org/jenkinsci/plugins/pipeline/github/client/ExtendedPullRequestService.java

  Log Message:
  ---
  Minor refactoring due to 
https://jenkins.io/security/advisory/2017-07-10/#unsafe-methods-in-the-default-whitelist-in-script-security-plugin

ExtendedIssueService.java
ExtendedPullRequestService.java
- replaced varargs with `List`s

CommitFileGroovyObject.java
CommitGroovyObject.java
CommitStatusGroovyObject.java
IssueCommentGroovyObject.java
ReviewCommentGroovyObject.java
- converted all properties into bean style methods
- added @Whitelisted to the bean style methods

GitHubHelper.java
- no longer use the deprecated method `getScanCredentialsId()` in 
`GitHubSCMSource`

PullRequestGroovyObject.java
- converted all properties into bean style methods
- added @Whitelisted to the bean style methods
- added missing `setAssignees()` method
- converted all varargs to `List`s

pom.xml
- bumped the projects major version, because the API changes are not backwards 
compatible for existing pipelines
- bumped parent pom version
- bumped minimum jenkins version, latest LTS release
- bumped various dependencies
- added a missing test dependency
- removed redundant maven plugin definition, fixed with latest parent pom 
version

README.md
- added usage examples for the trigger and `pullRequest` global variable in 
both scripted and declarative pipeline styles
- updated documentation to match new bean style access instead of property 
style access
- updated documentation to show `List` usage for setting collections instead of 
varargs.
- fixed a few typos along the way


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.