Branch: refs/heads/master

  Home:   https://github.com/jenkinsci/authorize-project-plugin

  Commit: 48e9d10f083c75c0ac7e3c8c906508133fadcfdc

      
https://github.com/jenkinsci/authorize-project-plugin/commit/48e9d10f083c75c0ac7e3c8c906508133fadcfdc

  Author: René Scheibe <rene.sche...@gmail.com>

  Date:   2019-08-27 (Tue, 27 Aug 2019)



  Changed paths:

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/ProjectQueueItemAuthenticatorTest.java



  Log Message:

  -----------

  Use @DataBoundConstructor for every AuthorizeProjectStrategy in tests



This makes sure that they can be constructed properly.

That's also a requirement for newer Jenkins versions.



Otherwise subtile issues may arise in tests. The following popped up by

just fixing a descriptor's display name (see next commit).



> org.kohsuke.stapler.NoStaplerConstructorException: There's no 
> @DataBoundConstructor on any constructor of class 
> org.jenkinsci.plugins.authorizeproject.ProjectQueueItemAuthenticatorTest$AuthorizeProjectStrategyWithOldSignature





  Commit: 87a091a078816932e1d9d8c1ea76d71b7203179e

      
https://github.com/jenkinsci/authorize-project-plugin/commit/87a091a078816932e1d9d8c1ea76d71b7203179e

  Author: René Scheibe <rene.sche...@gmail.com>

  Date:   2019-08-27 (Tue, 27 Aug 2019)



  Changed paths:

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/ProjectQueueItemAuthenticatorTest.java



  Log Message:

  -----------

  Fix copy & paste issue for getDisplayName() in test





  Commit: e61a835d1a3eba702333421640f2c8949008fa90

      
https://github.com/jenkinsci/authorize-project-plugin/commit/e61a835d1a3eba702333421640f2c8949008fa90

  Author: René Scheibe <rene.sche...@gmail.com>

  Date:   2019-08-27 (Tue, 27 Aug 2019)



  Changed paths:

    M Jenkinsfile



  Log Message:

  -----------

  Use recommended build configurations on ci.jenkins.io



The plugin is tested with multiple Jenkins and Java versions then.

For more details see https://github.com/jenkins-infra/pipeline-library.





  Commit: f65754e7c9952adce3aab5ddded5f6ef726e35a1

      
https://github.com/jenkinsci/authorize-project-plugin/commit/f65754e7c9952adce3aab5ddded5f6ef726e35a1

  Author: René Scheibe <rene.sche...@gmail.com>

  Date:   2019-09-01 (Sun, 01 Sep 2019)



  Changed paths:

    M pom.xml

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/strategy/SpecificUsersAuthorizationStrategyTest.java



  Log Message:

  -----------

  Modernize plugin (upgrade parent pom & Java 8 compatibility)



The synthetic test case with userId="" has to be removed because the

underlying library does not support this anymore.





  Commit: bee2a2fc2f02ccc99981f149526350b0796609f1

      
https://github.com/jenkinsci/authorize-project-plugin/commit/bee2a2fc2f02ccc99981f149526350b0796609f1

  Author: René Scheibe <rene.sche...@gmail.com>

  Date:   2019-09-01 (Sun, 01 Sep 2019)



  Changed paths:

    M pom.xml



  Log Message:

  -----------

  Remove unnecessary dependency



Due to dependency changes in the parent pom via the previous commit,

it's not any longer required to specify this dependency.





  Commit: 964d4a265fe7ec33b78fe18e49b84695a4187798

      
https://github.com/jenkinsci/authorize-project-plugin/commit/964d4a265fe7ec33b78fe18e49b84695a4187798

  Author: René Scheibe <rene.sche...@gmail.com>

  Date:   2019-09-01 (Sun, 01 Sep 2019)



  Changed paths:

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/testutil/AuthorizationCheckBuilder.java



  Log Message:

  -----------

  Fix test utils to be JEP-200 compliant



Without this change a RuntimeException is thrown for Jenkins >= 2.102

because hudson.model.Project#builders cannot be serialized.



That's because the AuthorizationCheckBuilder is included in there and the

Authentication class it uses is not in the whitelist of serializable classes.



For more details see these blog posts

- https://jenkins.io/blog/2018/03/15/jep-200-lts/

- https://jenkins.io/blog/2018/01/13/jep-200/





  Commit: 4db2ed39791b577ef37c5faa40619e04fab56beb

      
https://github.com/jenkinsci/authorize-project-plugin/commit/4db2ed39791b577ef37c5faa40619e04fab56beb

  Author: René Scheibe <rene.sche...@gmail.com>

  Date:   2019-09-01 (Sun, 01 Sep 2019)



  Changed paths:

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/strategy/SpecificUsersAuthorizationStrategyTest.java



  Log Message:

  -----------

  Fix tests not to fail with the new API token system



Without this change some tests would fail for Jenkins >= 2.129.

They assumed that an API token is always available. Starting with this

Jenkins version no legacy API token is created by default. Therefore

creating one in the test setup.



For more details see https://jenkins.io/blog/2018/07/02/new-api-token-system/





  Commit: daaa7642fd37e5d2b96b90d8b0409e5c689fad1e

      
https://github.com/jenkinsci/authorize-project-plugin/commit/daaa7642fd37e5d2b96b90d8b0409e5c689fad1e

  Author: René Scheibe <rene.sche...@gmail.com>

  Date:   2019-09-01 (Sun, 01 Sep 2019)



  Changed paths:

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/strategy/SpecificUsersAuthorizationStrategyTest.java



  Log Message:

  -----------

  [JENKINS-59107] Fix tests not to fail with new security measures for user 
sessions



Without this change this test would fail for Jenkins >= 2.150.2,

reporting that access it denied for the "authorization" endpoint

for user "anonymous".



For more details see https://jenkins.io/changelog-stable/#v2.150.2



This change is just fixing the tests (due to inter-test dependencies).

Fixing the actual issue is still to be done.





  Commit: 422cafef59df1ccb391873e508b63cb8e18f0fd6

      
https://github.com/jenkinsci/authorize-project-plugin/commit/422cafef59df1ccb391873e508b63cb8e18f0fd6

  Author: ikedam <de...@ikedam.jp>

  Date:   2019-09-05 (Thu, 05 Sep 2019)



  Changed paths:

    M pom.xml

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/ProjectQueueItemAuthenticatorTest.java

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/strategy/SpecificUsersAuthorizationStrategyTest.java

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/testutil/AuthorizationCheckBuilder.java



  Log Message:

  -----------

  Merge pull request #40 from darxriggs/full-recommended-configurations



Use recommended configurations to test plugin





  Commit: 90bf5be93f59399feadb451799030977d80f6564

      
https://github.com/jenkinsci/authorize-project-plugin/commit/90bf5be93f59399feadb451799030977d80f6564

  Author: ikedam <de...@ikedam.jp>

  Date:   2019-09-05 (Thu, 05 Sep 2019)



  Changed paths:

    M Jenkinsfile

    M pom.xml

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/ProjectQueueItemAuthenticatorTest.java

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/strategy/SpecificUsersAuthorizationStrategyTest.java

    M 
src/test/java/org/jenkinsci/plugins/authorizeproject/testutil/AuthorizationCheckBuilder.java



  Log Message:

  -----------

  Merge pull request #41 from jenkinsci/feature/35_RecommendedConfigurations



Use recommended build configurations on ci.jenkins.io





Compare: 
https://github.com/jenkinsci/authorize-project-plugin/compare/6c12f776c5e4...90bf5be93f59

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/authorize-project-plugin/push/refs/heads/master/6c12f7-90bf5b%40github.com.

Reply via email to