Commit Graph
11518 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 04195b653b [JENKINS-19438]
Merged pull request #931.
2013-10-27 11:52:46 -07:00
Marcus Jacobsson 975dcadca1 [FIXED JENKINS-19438]
Changed so that each nobuilt, aborted and disabled will use icons with unique names. The Icons used in this patch are just a copy of grey.
2013-10-27 11:51:11 -07:00
Kohsuke Kawaguchi 588ab963a8 Merged pull request #957
The bulk of the change will be in Maven plugin
2013-10-27 11:20:50 -07:00
Kohsuke Kawaguchi 27751723da noting the version 2013-10-27 11:20:15 -07:00
Kohsuke Kawaguchi e86d28155a explaining why POST_PRODUCTION isn't BUILDING
... after looking at pull request #957.
2013-10-27 11:12:44 -07:00
Kohsuke Kawaguchi 7ef6d9a08b Wrong source root
... as pointed out by https://github.com/jenkinsci/jenkins/pull/961
2013-10-27 11:05:04 -07:00
Kohsuke Kawaguchi cfe4b82994 Revert "Updating Guava."
This reverts commit d45d18ed4e.
2013-10-27 09:22:04 -07:00
Kohsuke Kawaguchi 206efb8710 Fixed NPE 2013-10-27 09:15:14 -07:00
Kohsuke Kawaguchi d3bce1e2de [FIXED JENKINS-19835]
Merged pull request #962.
2013-10-27 08:59:58 -07:00
Kohsuke Kawaguchi a6b7f4b076 if applied, the data is saved so flag should be reset.
Technically we should doing so only after the server reported success, but unfortunately there's no good hook for that.
2013-10-27 08:57:09 -07:00
Kohsuke Kawaguchi 6f0e22b129 simplified using Prototype.js 2013-10-27 08:48:42 -07:00
Kohsuke Kawaguchi e966aeaddc avoid global namespace pollution 2013-10-27 08:39:16 -07:00
mcupak 4c21bcee27 [JENKINS-19835] added page-leave confirmation on the configuration page 2013-10-27 08:38:36 -07:00
Kohsuke Kawaguchi a84d1bca7a [FIXED JENKINS-19844]
Merged pull request #966
2013-10-27 08:01:43 -07:00
Kohsuke Kawaguchi d45d18ed4e Updating Guava.
I found that literate-api library wants to use a newer version of Guava.
Sine all the usage of Guava in plugins end up picking up the version
from core, we need to rev this pretty aggressively.
2013-10-27 07:59:49 -07:00
Kohsuke Kawaguchi afea2a5455 Merge pull request #969 from olivergondza/label-node-list-appearance
Improve label node list appearance
2013-10-26 14:53:29 -07:00
Kohsuke Kawaguchi b96d227f97 [FIXED JENKINS-19996] Support view manipulation via Jenkins CLI
Merged pull request #971.
2013-10-26 14:50:57 -07:00
Kohsuke Kawaguchi 952ea0a928 [JENKINS-19996] Setting the target version 2013-10-26 14:49:33 -07:00
Kohsuke Kawaguchi 9ee9684681 Merge pull request #973 from olivergondza/cli-help
[JENKINS-20023] Make CLI interface help more accesible
2013-10-26 14:43:43 -07:00
Kohsuke Kawaguchi 705b013c8a Merge pull request #976 from sghill/parametersaction-merge
Adding ParametersAction#merge(ParametersAction) method with tests.
2013-10-26 14:36:21 -07:00
Kohsuke Kawaguchi 42ced243af Merge pull request #977 from olivergondza/build-name-command-npe
[FIXED JENKINS-20057] NPE when issuing set-build-display-name CLI command
2013-10-26 14:33:52 -07:00
Kohsuke Kawaguchi 68c03c59cf Merge pull request #978 from olivierdagenais/enhanceCurrentUserLink
Enhance the current user link in the header.
2013-10-26 14:31:43 -07:00
Kohsuke Kawaguchi 28737ee9d1 [FIXED JENKINS-8408]
If slaves are late to come online after a Jenkins startup, we will see a huge spike of builds as Jenkins attempt to get a workspace for polling.
2013-10-26 14:27:25 -07:00
Kohsuke Kawaguchi 41ce6c5714 track uptime 2013-10-26 14:09:39 -07:00
Kohsuke Kawaguchi e68ec055fd [FIXED JENKINS-20280]
Merged pull request #986.
2013-10-26 13:40:44 -07:00
ikedam 4204d22496 [FIX JENKINS-20280] Calculates the order to override variables. This is an improved fix for [JENKINS-19488] and [JENKINS-19926]. 2013-10-26 13:38:30 -07:00
Kohsuke Kawaguchi 3e4733c7a4 Merge branch 'rc' 2013-10-25 16:02:49 -07:00
Kohsuke Kawaguchi b3225944d1 Revert "[FIXED JENKINS-18629]"
This reverts commit c01333c346.
See
https://issues.jenkins-ci.org/browse/JENKINS-20262?focusedCommentId=188404&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-188404
for the discussion why this should be reverted.

Conflicts:

	core/pom.xml
2013-10-25 15:59:59 -07:00
Kohsuke Kawaguchi a26f0fbe9d if useSecurity is set to false, it should trump all others 2013-10-25 14:08:44 -07:00
Kohsuke Kawaguchi 27d1a03866 [FIXED JENKINS-19383]
Fixed a bug in bytecode-compatibility-transformer where class file
format prior to 1.49 cannot have the ldc instruction pointing to a class
constant.
2013-10-25 12:43:27 -07:00
Kohsuke Kawaguchi f98c4627da [JENKINS-19383]
Escape hatch to disable bytecode transformation in case this causes other unforeseen problems.
2013-10-25 09:36:44 -07:00
Jesse Glick c99b816033 Factoring out sufficiently generic parts of _api.jelly into a page displayed for any AbstractItem (e.g. a Folder). 2013-10-25 10:06:00 -04:00
Jesse Glick d0c45040d6 Get/UpdateJobCommand should work with the most generic possible type—AbstractItem. 2013-10-24 14:55:08 -04:00
Jesse Glick 7c606ae5c8 Merge branch 'fix-refused-build-cli-npe' of github.com:marco-miller/jenkins into marco-miller-fix-refused-build-cli-npe 2013-10-23 14:58:58 -04:00
Jesse Glick 2771d23307 ExtensionList.remove was unconditionally returning true, against Collection contract. 2013-10-23 14:39:52 -04:00
Marco Miller 365df70b1f Refactor string constant duplicate in BuildCommand and BuildCommandTest. 2013-10-23 14:14:14 -04:00
Marco Miller eaeb45bdaa Null check for if build scheduling Refused by extension => not in Queue.
New test in hudson/cli/BuildCommandTest.groovy, as well as companion
@TestExtension class, thanks to Jesse' suggestion. This is so that we
test this hereby fixed case of a QueueDecisionHandler Refusing a build,
leading to that null value now checked and handled accordingly.

Commit also includes sorted imports and a few minor indentation fixes,
as well as another (very) minor string change.
2013-10-23 11:05:03 -04:00
Jesse Glick dceac8f0ac [FIXED JENKINS-19173] Added ContextMenuVisibility marker interface for Action’s. 2013-10-23 10:44:01 -04:00
Olivier Dagenais ba5003a510 Switch to User.current 2013-10-23 09:10:55 -04:00
Pavel Cvrcek cdddd38145 Fix typo for Czech (cs) L10N. 2013-10-23 14:53:49 +02:00
Jesse Glick bdaea02d88 Fail with a clear message when a mode parameter is given but no such descriptor exists.
Otherwise get e.g.:
java.lang.IllegalArgumentException: java.lang.NullPointerException
	at hudson.model.ItemGroupMixIn.createProject(ItemGroupMixIn.java:253)
	at hudson.model.ItemGroupMixIn.createTopLevelItem(ItemGroupMixIn.java:175)
	at jenkins.model.Jenkins.doCreateItem(Jenkins.java:2827)
	at jenkins.model.Jenkins.doCreateItem(Jenkins.java:308)
	at …
Caused by: java.lang.NullPointerException
	at hudson.model.ItemGroupMixIn.createProject(ItemGroupMixIn.java:251)
	... 65 more
2013-10-22 18:45:52 -04:00
Jesse Glick e6632cdaab Throw Failure, which FormException would just delegate to when we are not coming from a regular form’s Apply button, as in this case. 2013-10-22 18:42:34 -04:00
Jesse Glick d7fb1f7ed2 Simpler and better to throw Failure than to hand-craft an error result. 2013-10-22 18:41:25 -04:00
Olivier Dagenais 1f5fe41383 Enhance the current user link in the header.
1 - Link to user's ID, which is properly escaped.
2 - Display user's full name if possible, otherwise their ID.
2013-10-22 14:52:51 -04:00
Jesse Glick ae6ec8491b Can be confusing to import nested classes. 2013-10-22 12:32:18 -04:00
Nicolas De Loof 7115589134 [FIXED JENKINS-20143] Pass full list of all possible jobs to ViewJobFilter when recurse option is set 2013-10-22 10:05:21 +02:00
Kohsuke Kawaguchi f9f1483865 the trunk is toward 1.538-SNAPSHOT 2013-10-21 21:56:36 -07:00
Jesse Glick b8ace7789a Ensuring that getRelativeNameFrom actually inserts ../ sequences where it should.
The implementation of the method is rather hard to follow so this certainly needs to be tested!
2013-10-21 15:34:58 -04:00
Jesse Glick bac8b9795a Clarified Javadoc: non-display names use '/' as a separator. 2013-10-21 15:34:17 -04:00
Jesse Glick 0e3afeb6c5 Sources are UTF-8 so might as well use the raw character when specifying something that will be a part of output. 2013-10-21 14:20:24 -04:00