Commit Graph
32590 Commits
Author SHA1 Message Date
John Losito 7d4950117d Check for updates to GitHub Actions every weekday 2020-10-08 18:47:41 -04:00
Tomek Szmytka dd134ef84e Shortlog strip console notes (#4905)
* Do not render parts of serialized a ConsoleNote if output begins in the middle of it. Generalize finding pre/postamble

* Do not render parts of serialized a ConsoleNote while writing non-html output as well. Test sample script output.

* Add positive scenario test case. Fine-tune implementation

* Render progressive output with explicitly set no preBuffer. Ensure only the relevant lines get processed

* Revert pre-buffer functionality.
Keep tests in adjusted form.

* Push offset forward to start writing log on line beginning

* Move and fine-tune tests. Avoid rendering no output in case offset falls on last line

* Dont render whole log on offset on the last line. It might be problematic for really large logs

* Style adjustments
2020-10-08 15:29:47 +02:00
Oleg Nenashev 715cdb15b3 Merge pull request #4967 from Sangaibisi/master
Hacktoberfest: Java 8 migration. Replace statements with lambda
2020-10-08 11:43:51 +02:00
Philipp Homann bd56485cc2 Don't render description pane when historyWidget.descriptionLimit is 0 2020-10-08 10:22:16 +02:00
res0nance a66e05ac7b Use preauth filter and add autocompletion test 2020-10-08 15:41:11 +08:00
Jesse Glick 21d3315fd5 Remove beta mark from APIs introduced for JEP-202 2020-10-07 17:34:05 -04:00
res0nance dc4e0446a0 Correct self label check 2020-10-08 00:04:31 +08:00
Oleg Nenashev aa679ddb61 Merge pull request #4971 from jenkinsci/release0process-section
Maintainer guide - Add a Release Process section
2020-10-07 17:14:13 +02:00
Oleg Nenashev 1b256b2235 Maintainer guide - Add a Release Process section 2020-10-07 16:14:27 +02:00
Vincent Latombe 4ff3f04436 [JENKINS-63828] It is legal to have a CloudProvisioningListener not implementing canProvision
I got confused in
https://github.com/jenkinsci/jenkins/commit/3992a30efb1abf697cae8e02f9e81dd04b92b135
by Cloud#canProvision which was abstract vs.
CloudProvisioningListener#canProvision which wasn't and was returning
null.
2020-10-07 14:44:15 +02:00
Jenkins Release Bot 2791c4f222 [maven-release-plugin] prepare for next development iteration 2020-10-06 12:19:50 +00:00
Jenkins Release Bot c39c9973e2 [maven-release-plugin] prepare release jenkins-2.260 jenkins-2.260 2020-10-06 12:19:29 +00:00
Wadeck FollonierandJeff Thompson eb0876cdb9 [JENKINS-57484] Improving the scripting capacity for the API Tokens (#4027)
* [JENKINS-57484] Improving the scripting capacity for the API Tokens

* Modification after review

* Add `@Restricted` as proposed by Daniel

- Also remove some whitespace modifications that were not required

* Method already present, revert the annotation addition

* Adjustment after merge conflict + cleanup

- Nonnull to NonNull
- Immutable is illegal :(
- Mistake in WhoAmITest

* Adding revokeToken + unit test for scripting

* Adding comment for system property not set + recommendation about revocation

* Update core/src/main/java/jenkins/install/SetupWizard.java

Co-authored-by: Jeff Thompson <37345299+jeffret-b@users.noreply.github.com>

Co-authored-by: Jeff Thompson <37345299+jeffret-b@users.noreply.github.com>
2020-10-05 16:07:30 -06:00
Oleg Nenashev 81a33054a6 Merge pull request #4958 from jglick/ant
org.apache.ant:ant 1.10.8 → 1.10.9
2020-10-05 12:31:19 +02:00
Raihaan Shouhellandres0nance 5492c81800 Remove deadstore and use MessageDigest comparison (#4953)
Co-authored-by: res0nance <res0nance@users.noreply.github.com>
2020-10-05 12:29:57 +02:00
Raihaan Shouhellandres0nance c76d55a427 Improve performance of MyView (#4954)
Co-authored-by: res0nance <res0nance@users.noreply.github.com>
2020-10-05 12:29:39 +02:00
Vincent Latombe a75306f950 [JENKINS-63828] Fix expected signature for CloudProvisioningListener#canProvision (#4955)
* [JENKINS-63828] Fix expected signature for CloudProvisioningListener#canProvision

* Polish
2020-10-05 12:29:20 +02:00
Emrullah YILDIRIM a38c922cfe Revert "Performance issue, string concatenation in loop"
This reverts commit 891bdbeafe.
2020-10-03 19:21:09 +03:00
Emrullah YILDIRIM e05f5a1e92 Java 8 migration. Replace statements with lambda 2020-10-03 19:20:05 +03:00
Emrullah YILDIRIM 891bdbeafe Performance issue, string concatenation in loop 2020-10-03 15:37:08 +03:00
Stefan Spieker 5ec18e61f1 set log level to fine, to not provoke futher errors 2020-10-03 12:51:53 +02:00
Stefan Spieker 86cc2d3f96 fixed spotbugs issue RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 2020-10-03 11:36:21 +02:00
Stefan Spieker dbb0965682 fixed spotbugs issue RV_NEGATING_RESULT_OF_COMPARETO 2020-10-03 11:27:20 +02:00
Stefan Spieker c503f0850f remove specified maven-war-plugin.version to use newer version from parent project 2020-10-03 11:02:15 +02:00
Jesse Glick 16880cf558 org.apache.ant:ant 1.10.8 → 1.10.9 2020-10-02 09:57:58 -04:00
A. JardandaHenryJard d7c230ce9a [JENKINS-63795] allow MANAGE to restart and safe-restart jenkins. (#4950)
* [JENKINS-63795] allow MANAGE to restart and safe-restart jenkins.

* Adding a Rule test to validate that only MANAGE and ADMIN can restart Jenkins.

Co-authored-by: aHenryJard <ajard@cloudbees.com>
2020-10-02 12:40:48 +02:00
Oleg Nenashev 50eb5ed262 Merge pull request #4952 from daniel-beck/autocomplete-off
Disable autocomplete of user name on login form
2020-10-02 12:37:23 +02:00
Tasuku Nakagawa 8c6327f4c6 Refactoring CLIRegisterer (#4945)
* Refactoring CLIRegisterer

* Add printError method
2020-10-01 12:12:25 +02:00
Daniel Beck 1994452fcd Disable autocomplete of user name on login form 2020-09-29 16:25:52 +02:00
Jenkins Release Bot c09984ee9e [maven-release-plugin] prepare for next development iteration 2020-09-29 12:21:26 +00:00
Jenkins Release Bot 03f1f7cb5b [maven-release-plugin] prepare release jenkins-2.259 jenkins-2.259 2020-09-29 12:21:04 +00:00
Mark Waite 3b1b93db0e Merge pull request #4948 from jglick/mailer-display-url-api
Updating display-url-api dep to match mailer
2020-09-27 06:54:49 -06:00
StefanSpieker ec55d67a1d merged security tests back to original test class (#4907) 2020-09-25 21:34:23 +01:00
Vincent LatombeandJesse Glick 3992a30efb Add CloudState to be passed to Cloud#provision and Cloud#canProvision methods. (#4922)
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2020-09-25 21:34:05 +01:00
Daniel BeckandDaniel Beck 1294f23629 Update bundled script-security plugin to 1.75 (#4947)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2020-09-25 21:33:52 +01:00
Andrei Neagu ded3192940 [JENKINS-50669] RingBufferLogHandler improvement (#4550) 2020-09-25 21:33:45 +01:00
34fd32a4fa Combobox improvements (#4939)
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Ramon Leon <manuelramonleonjimenez@gmail.com>
2020-09-25 21:32:32 +01:00
Jesse Glick 342fc436f6 Updating display-url-api dep to match mailer 2020-09-25 09:53:13 -04:00
Tim Jacomb fed3854bae Merge pull request #4943 from daniel-beck/JENKINS-63712
[JENKINS-63712] Show display names in change list again
2020-09-23 14:53:17 +01:00
Jenkins Release Bot b74467446c [maven-release-plugin] prepare for next development iteration 2020-09-22 13:58:22 +00:00
Jenkins Release Bot ad21cf4c34 [maven-release-plugin] prepare release jenkins-2.258 jenkins-2.258 2020-09-22 13:57:44 +00:00
Tim Van Holder 702bd3921c [JENKINS-46175] SimpleBuildStep/SimpleBuildWrapper without workspace (alternative approach) (#4829) 2020-09-22 09:52:07 +01:00
Tim Jacomb d201a91b88 [JENKINS-62661] Fix status filter migration (#4942)
[JENKINS-62661] Fix status filter migration
2020-09-21 20:08:30 +01:00
Daniel Beck 24c3a3de27 [JENKINS-63712] Show display names in change list again 2020-09-21 12:36:52 +02:00
res0nance c431ccc9b4 Fix data migration and add a test 2020-09-21 17:22:42 +08:00
Tim Van Holder 35caaebd38 Fix JavaDoc error (#4941) 2020-09-21 07:56:40 +01:00
Pierre Beitz 28004e1501 [JENKINS-63682] The PluginServletFilter class should be final (#4934) 2020-09-19 13:07:05 +01:00
Daniel BeckandDaniel Beck 787ad0b357 Update bundled mailer to 1.32.1 (#4938)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2020-09-19 13:06:54 +01:00
benebsinyandDaniel Beck bbc3580d4c [JENKINS - 63332] Radio button's move around when clicking them (#4936)
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-09-19 13:06:37 +01:00
Tim Lander a394615171 Make the archived artifacts summary on build pages theme-aware (#4931)
* Make the tree view theme-aware

* Move background colour css from treeview-skin to yui-compatibility.less

* Move background colour css from treeview-skin to yui-compatibility.less

* Undo changes to treeview-skin.css

* Add '!important' to yui-compatibility.less, to allow it to override

* Added comment to designate treeview-skin overrides
2020-09-16 19:51:52 +01:00