Commit Graph
1102 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi d50004fa4e [maven-release-plugin] prepare for next development iteration 2018-01-14 18:13:39 -08:00
Kohsuke Kawaguchi 066252ee56 [maven-release-plugin] prepare release jenkins-2.102 2018-01-14 18:13:39 -08:00
Kohsuke Kawaguchi 4dbe772a0b [maven-release-plugin] prepare for next development iteration 2018-01-07 18:20:10 -08:00
Kohsuke Kawaguchi 235a9bad68 [maven-release-plugin] prepare release jenkins-2.101 2018-01-07 18:20:10 -08:00
Kohsuke Kawaguchi c4e912900b [maven-release-plugin] prepare for next development iteration 2018-01-03 15:48:04 -08:00
Kohsuke Kawaguchi 5707ff1766 [maven-release-plugin] prepare release jenkins-2.100 2018-01-03 15:48:04 -08:00
Oleg Nenashev 8eb4254b0f Merge pull request #3212 from oleg-nenashev/bug/JENKINS-48761-remoting-API
[JENKINS-48761] - Restore binary compatibility with agents running old Remoting versions
2018-01-03 23:35:56 +01:00
Oleg Nenashev 01b8ed8c71 [JENKINS-48761] - Address review comments from @jglick 2018-01-03 20:59:11 +01:00
Oleg Nenashev 8a34983d45 [JENKINS-48761] - Create a smoke test for old agents 2018-01-03 13:19:48 +01:00
Kohsuke Kawaguchi 99ca101143 [maven-release-plugin] prepare for next development iteration 2017-12-31 18:15:37 -08:00
Kohsuke Kawaguchi 7975ee0cf9 [maven-release-plugin] prepare release jenkins-2.99 2017-12-31 18:15:37 -08:00
Kohsuke Kawaguchi 0ac93deba0 [maven-release-plugin] prepare for next development iteration 2017-12-25 01:03:42 -08:00
Kohsuke Kawaguchi 101a6cd44a [maven-release-plugin] prepare release jenkins-2.98 2017-12-25 01:03:41 -08:00
Kohsuke Kawaguchi 90f778d281 [maven-release-plugin] prepare for next development iteration 2017-12-19 11:48:27 -08:00
Kohsuke Kawaguchi 5f2a40ba96 [maven-release-plugin] prepare release jenkins-2.97 2017-12-19 11:48:27 -08:00
Kohsuke Kawaguchi c32b6d807a [maven-release-plugin] prepare for next development iteration 2017-12-17 16:39:29 -08:00
Kohsuke Kawaguchi eac29da4f1 [maven-release-plugin] prepare release jenkins-2.96 2017-12-17 16:39:29 -08:00
Wadeck Follonier 814d202716 [JENKINS-22474] API Token does not require CSRF token (#3129)
* [JENKINS-22474] API Token does not require CSRF token
- in order to ease the use of the api, we are not requiring the request to have a crumb
- in terms of security it's not a problem normally since the CSRF attacks use the cookies and in case of API Token, it's session-less / cookie-less

* - adjust the license header

* - add test for basic authentication
- add test for login process

* - add test for form submission using ui (htmlunit), not just login form

* - modification requested by Jesse

* - pom.xml update to use the last version of jenkins-test-harness (with the token helper methods)
- beginning of the simplification of tests

* - using the try-with-resource approach to ease readability

* - using closure method now

* - add missing login transformation

* - add unit test

* - use withToken
- remove useless crumb for GET method
- add fail (otherwise the assert in catch is not as useful as it could be)

* another bunch of test cases

* - for HudsonTestCase, some additional modifications are required: changing the view / different type of management for the variable inside the views

* - small other tests

* - last batch for the login method

* - crumb is not more required since we are using API Token

* - converting auth to ApiToken to avoid crumb method

* - converting auth to ApiToken to avoid crumb method (second)

* - remove usage of closure aware methods

* - update the pom using the snapshot as adviced by Jesse
- modifications on other class to adapt to the last modifications in JTH

* - modifications requested during code review

* - also put back my changes to the conflicted file

* - correction of the merge :)
2017-12-16 09:25:30 +01:00
Kohsuke Kawaguchi 4c75250ad4 [maven-release-plugin] prepare for next development iteration 2017-12-13 17:58:00 -08:00
Kohsuke Kawaguchi 0f029f39e6 [maven-release-plugin] prepare release jenkins-2.95 2017-12-13 17:58:00 -08:00
Kohsuke Kawaguchi 78adf02add [maven-release-plugin] prepare for next development iteration 2017-12-11 13:34:20 -08:00
Kohsuke Kawaguchi a4608a21ce [maven-release-plugin] prepare release jenkins-2.94 2017-12-11 13:34:19 -08:00
Oleg Nenashev 18d7ed5ac9 Merge pull request #3183 from jglick/mock-hell
Updating Powermock and Objenesis to avoid Mockito/Hamcrest library mismatches
2017-12-10 07:17:58 +03:00
Jesse Glick 041e9fe1f2 Merge pull request #3184 from jglick/gmaven
GMaven cleanup
2017-12-09 08:35:02 -05:00
Jesse Glick 0bc7b46055 Last trace of gmaven gone! 2017-12-08 18:49:22 -05:00
Jesse Glick aa5e776d9a All gmaven usage is now contained in the test module. 2017-12-08 16:15:47 -05:00
Jesse Glick e39007250a Cleaning up some more unusable Cobertura executions. 2017-12-08 16:09:35 -05:00
Jesse Glick af95fef755 Removing core/src/main/groovy/. 2017-12-08 12:22:23 -05:00
Jesse Glick d3645f7dfe Updating Powermock and Objenesis to avoid Mockito/Hamcrest library mismatches. 2017-12-08 10:44:58 -05:00
Jesse Glick bbec44313a surefire.skipAfterFailureCount=100 2017-12-08 09:24:39 -05:00
Kohsuke Kawaguchi a04b2dd63c [maven-release-plugin] prepare for next development iteration 2017-12-03 14:01:54 -08:00
Kohsuke Kawaguchi 7c9170a13a [maven-release-plugin] prepare release jenkins-2.93 2017-12-03 14:01:54 -08:00
Baptiste Mathus b32bc8d277 Merge pull request #2548 from christ66/JENKINS-34855
[JENKINS-34855] AtomicFileWriter is not Atomic
2017-11-29 15:45:57 +01:00
Kohsuke Kawaguchi 2e920c7d5a [maven-release-plugin] prepare for next development iteration 2017-11-26 19:04:19 -08:00
Kohsuke Kawaguchi 35b6213249 [maven-release-plugin] prepare release jenkins-2.92 2017-11-26 19:04:19 -08:00
Baptiste Mathus fed7f2e35c Fix RequireUpperBoundDeps issue
```
WARNING] Rule 3: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps fai
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for org.objenesis:objenesis:2.1 paths
+-org.jenkins-ci.main:test:2.92-SNAPSHOT
  +-org.mockito:mockito-core:1.10.19
    +-org.objenesis:objenesis:2.1
and
+-org.jenkins-ci.main:test:2.92-SNAPSHOT
  +-org.awaitility:awaitility:3.0.0
    +-org.objenesis:objenesis:2.5.1
```
2017-11-23 14:34:37 +01:00
Baptiste Mathus e50d4d71c3 Retry assertion for 10 seconds before failing
Also reduce the time 250 ms (instead of 1 second previously) between
retries to hopefully reduce the test duration on quick enough setups,
and still degrade nicely on less performing ones.
2017-11-23 14:34:03 +01:00
Kohsuke Kawaguchi d4419b5125 [maven-release-plugin] prepare for next development iteration 2017-11-19 23:03:18 -08:00
Kohsuke Kawaguchi ec541fe582 [maven-release-plugin] prepare release jenkins-2.91 2017-11-19 23:03:18 -08:00
Kohsuke Kawaguchi 7d29d4df37 [maven-release-plugin] prepare for next development iteration 2017-11-13 06:51:52 -08:00
Kohsuke Kawaguchi 6fb6e6ff46 [maven-release-plugin] prepare release jenkins-2.90 2017-11-13 06:51:52 -08:00
Kohsuke Kawaguchi 7923dd93b9 [maven-release-plugin] prepare for next development iteration 2017-11-06 10:15:25 -08:00
Kohsuke Kawaguchi 02faf36dc3 [maven-release-plugin] prepare release jenkins-2.89 2017-11-06 10:15:25 -08:00
Kohsuke Kawaguchi 048e313aa9 [maven-release-plugin] prepare for next development iteration 2017-11-05 16:30:59 -08:00
Kohsuke Kawaguchi 727b5c48e6 [maven-release-plugin] prepare release jenkins-2.88 2017-11-05 16:30:58 -08:00
Kohsuke Kawaguchi c2aca606e3 [maven-release-plugin] prepare for next development iteration 2017-10-29 20:46:03 -07:00
Kohsuke Kawaguchi 655472efde [maven-release-plugin] prepare release jenkins-2.87 2017-10-29 20:46:03 -07:00
Kohsuke Kawaguchi 790068c848 [maven-release-plugin] prepare for next development iteration 2017-10-22 17:56:23 -07:00
Kohsuke Kawaguchi 8c0ea07d5d [maven-release-plugin] prepare release jenkins-2.86 2017-10-22 17:56:23 -07:00
Jesse Glick 3a781f5a40 jenkins-test-harness 2.31 2017-10-17 13:06:31 -04:00