Commit Graph
16770 Commits
Author SHA1 Message Date
Zbynek Konecny 511a533d15 [JENKINS-16750] Update build status icon (#3952)
* [JENKINS-16750] update status icon when build is finished

* JENKINS-16750 use Event.fire / Event.observe instead of global function
2019-04-28 10:39:13 +02:00
Oleg Nenashev 25f4e71977 Merge pull request #3995 from daniel-beck/agent-to-master-section
Add section for agent to master configuration
2019-04-27 07:42:19 +02:00
Romén Rodríguez-Gil a21402b5f8 [JENKINS-56477] Fix to allow selecting compatible-only updates for plugins (#3985)
* [JENKINS-56477] New "isCompatible" method avoiding all plugins w/ warns

Previous version was only checking "isCompatibleWithInstalledVersion", but there were several other cases that had to be checked

* [JENKINS-56477] Added issue annotation to isPluginUpdateCompatible test

* [JENKINS-56477] Factored out getUpdateSite, init method used by 2 tests

Also removed the "sites" list from the init, since it seemed it was not being used, only using the specific site created from the external json

* [JENKINS-56477] Added a new option for plugin selection: "compatible"

Now users can select "All", "Compatible" or "None"

* [JENKINS-56477] checkPluginsWithoutWarnings also unchecks now

Useful if the user first clicks "Select All" and now wants to "Select Compatible" only.

* [JENKINS-56477] Added unit test for "UpdateSite.Plugin.isCompatible"

The UpdateSite class and its internal classes (e.g. Plugin) are a bit tricky to unit-test. Using some stubs to set the necessary context for the test to run

* [JENKINS-56477] "mock-maker-inline" incompatible w/ other tests

Had to remove the unit test checking "pluginUpdateNotCompatible. It needed "mock-maker-inline" config to mock/spy the Plugin class (which is final), but that mockito config caused conflicts with pre-existing tests.

* [JENKINS-56477] Simplifying condition to check the candidate checkbox

* [JENKINS-56477] Method overload with param should not be exported

* [JENKINS-56477] Javadoc for isCompatible(). Overloaded ver. restricted

Also switched the call in table.jelly to the overloaded version of isCompatible, since a "cache" var was available in the context (and was being already used by calls to the internal methods to show the warnings)

* Removed empty line.

Trivial change to force re-execution of pipeline.

* [JENKINS-56477] "isCompatible" set to @Restricted for now

This method is currently only being used by the Jenkins UI, so we are not being exposing it to plugins nor exporting it. If in the future that need emerges, this can be changed
2019-04-26 17:22:21 +02:00
Nisarg Shah f4046fb3d4 [JENKINS-55829] New getter method in AbstractCIBase (#3873)
* Created new getter method in AbstractCIBase and marked it as
`Restricted`

* Added suggested changes

* Added changes

* Suggested Changes Added

* Added new getter method with appropriate changes.
2019-04-26 15:00:08 +02:00
Oleg Nenashev 6414d0718f Merge pull request #3987 from jglick/slave-installer
[JENKINS-57071] Fixing problems affecting Linux agent installer modules
2019-04-26 10:17:37 +02:00
Oleg Nenashev 43d7874310 Merge pull request #3986 from jglick/ConfidentialKey
Making ConfidentialKey instances safe to keep in static fields even across JenkinsRule starts
2019-04-26 10:15:40 +02:00
Oleg Nenashev e2da5e41c7 Merge pull request #3980 from jglick/SerializableOnlyOverRemoting-JENKINS-47896
[JENKINS-47896] SerializableOnlyOverRemoting
2019-04-25 17:00:50 +02:00
Daniel Beck a5a92af4be Merge pull request #3998 from jglick/jnlp-to-inbound
Remove JNLP terminology from GUI when referring to inbound agents
2019-04-24 14:34:49 +02:00
Daniel Beck 8ea548828a Enable Stapler telemetry 2019-04-23 22:17:16 +02:00
Jesse Glick c5c8037113 Remove JNLP terminology from GUI when referring to inbound agents. 2019-04-22 10:51:05 -04:00
Baptiste Mathus 0f03ce2f27 Merge pull request #2831 from szpak/feature/searchableNestedViews3
[JENKINS-43322] Nested views should be also searchable by name
2019-04-20 21:22:33 +02:00
Daniel Beck 9227240d5e Add section for agent to master configuration 2019-04-20 00:51:25 +02:00
Baptiste Mathus 67e86ed1b0 🤦 now it's just noop code that should be removed 2019-04-18 16:31:37 +02:00
Baptiste Mathus 9ecafa86c1 Document that return must not be null 2019-04-18 16:08:46 +02:00
Baptiste Mathus 596fd963b6 Remove unnecessary new @Export 2019-04-18 16:05:07 +02:00
Baptiste Mathus 2767b00146 Merge pull request #3925 from ad22/JENKINS-56403
[JENKINS-56403]: Renaming an agent retains old agent configuration
2019-04-18 12:41:09 +02:00
Jesse Glick 16ece5c66e Fixing problems affecting Linux agent installer modules. 2019-04-16 14:08:17 -04:00
Jesse Glick d20adb8227 Making ConfidentialKey instances safe to keep in static fields even across JenkinsRule starts. 2019-04-15 16:18:45 -04:00
Jesse Glick ceb84623cb Pulling marker from StreamTaskListener up to TaskListener. 2019-04-11 16:05:53 -04:00
Jesse Glick 7c3810a82e Merge branch 'refactoring/JENKINS-47896-serializableOnlyOverRemoting' of github.com:oleg-nenashev/jenkins into SerializableOnlyOverRemoting-JENKINS-47896 2019-04-11 15:58:57 -04:00
Daniel Beck e460e6c40b Merge pull request #3973 from daniel-beck/JENKINS-55292
[JENKINS-55292] Remove MailCommand localization from core
2019-04-11 21:08:47 +02:00
Baptiste Mathus 850168fdb2 Merge pull request #3961 from jglick/TaskListener-flush
Adjusted TaskListener flushing in remote code
2019-04-11 15:17:30 +02:00
Baptiste Mathus e19f912830 Merge pull request #3977 from NicuPascu/copy-token
[JENKINS-56733] Add a button to copy new token
2019-04-11 14:21:34 +02:00
Daniel Beck ec3ec2e492 Inline the revoke icon into ApiTokenProperty/config.jelly 2019-04-11 10:36:03 +02:00
Nicolae Pascu 1f08f54bfd move svg-icon-token-revoke.jelly to ApiTokenProperty dir 2019-04-11 18:02:54 +10:00
Nicolae Pascu 6a78160ab1 add title attributes to copy and revoke action icons 2019-04-11 17:29:12 +10:00
Kohsuke Kawaguchi 86e17f90f6 Merge remote-tracking branch 'origin/master' 2019-04-10 07:48:55 -07:00
Daniel Beck af127dc36d Merge pull request #3976 from jsoref/help-text
Improve help
2019-04-10 13:07:24 +02:00
Baptiste Mathus df7ce5190d Merge pull request #3729 from daniel-beck/jep-216-support
[JEP-216] Support loading localizer and webapp resources from any plugin
2019-04-10 12:09:05 +02:00
Nicolae Pascu 162cdc0f88 change include path to absolute instead of relative 2019-04-10 18:30:35 +10:00
Baptiste Mathus 9f9455b131 Merge pull request #3955 from jglick/WorkspaceList.inUse-JENKINS-50504
[JENKINS-50504] WorkspaceList.inUse should be keyed by String not FilePath so leases survive agent reconnections
2019-04-10 08:45:52 +02:00
Nicolae Pascu 0c055cfec6 modify the "copy" and "revoke" icons as requested by @josephbrueggen 2019-04-10 14:24:34 +10:00
Daniel Beck 6d86993f18 Merge pull request #3803 from jsoref/olddatamonitor
Rewriting old data monitor text
2019-04-09 21:37:42 +02:00
Baptiste Mathus 43960f10bc Merge branch 'master' into PR-2831-szpak
# Conflicts:
#	core/src/main/java/hudson/model/ViewGroupMixIn.java
#	test/src/test/java/hudson/model/ViewTest.java
2019-04-09 16:19:56 +02:00
Daniel Beck 20ab1dbc72 Merge remote-tracking branch 'jenkinsci/master' into jep-216-support 2019-04-09 16:05:23 +02:00
Daniel Beck 432f672b19 [JEP-216] Define a separate class for plugins to implement 2019-04-09 15:53:44 +02:00
Daniel Beck 1d737f32df [JENKINS-55292] Remove MailCommand localization from core 2019-04-09 15:41:16 +02:00
Baptiste Mathus 8f657612f9 Merge pull request #3900 from kuisathaverat/JENKINS-56166
[JENKINS-56166] Remove hudson.util.ssh.SFTPClient classs from core
2019-04-09 15:15:58 +02:00
Daniel Beck e3e04760e0 Merge branch 'master' into jep-216-support 2019-04-09 15:06:47 +02:00
Baptiste Mathus 5db814b682 Merge pull request #2691 from daniel-beck/JENKINS-40750
[FIX JENKINS-40750] Remove cc.xml from core
2019-04-09 14:39:40 +02:00
Baptiste Mathus 9330635821 Merge pull request #3944 from jsoref/SECURITY-904-followup
[SECURITY-904] Fold tests back into normal files
2019-04-09 14:12:49 +02:00
Jesse Glick 4c26faa23e Merge branch 'master' into WorkspaceList.inUse-JENKINS-50504 2019-04-08 21:22:55 -04:00
Daniel Beck 108cf87227 Merge pull request #3933 from sghill/JENKINS-56494
Update ExtensionList#load to not log unnecessary stacktrace
2019-04-08 22:30:09 +02:00
Baptiste Mathus 58dfce4b1c Merge pull request #3425 from aviadatsnyk/patch-1
[JENKINS-56931] handle absolute paths correctly when unzipping
2019-04-08 21:51:12 +02:00
Jesse Glick 56107eab87 Limiting system properties transmitted to the agent to those for which this has been explicitly indicated as safe. 2019-04-08 14:28:30 -04:00
Jesse Glick 2298216d3e Rename suggested by @daniel-beck. 2019-04-08 14:06:50 -04:00
Jesse Glick a21f83fb25 @daniel-beck suggested a documentation improvement. 2019-04-08 14:06:08 -04:00
Jesse Glick 92c5fe6222 Merge branch 'master' into TaskListener-flush 2019-04-08 14:01:56 -04:00
Jesse Glick e57d7a5bdf Merge pull request #3959 from jglick/LineTransformationOutputStream.Delegating
Introduced LineTransformationOutputStream.Delegating
2019-04-08 13:02:17 -04:00
Daniel Beck 6b4c6c955d Merge branch 'master' into security-master 2019-04-08 17:18:26 +02:00