Commit Graph
32590 Commits
Author SHA1 Message Date
Jesse Glick 2b125d7e41 [FIXED JENKINS-16965] Maven 3.0.5 upgrade. 2013-02-26 11:14:27 -05:00
Kohsuke Kawaguchi 90a2e0bb6e updated changelog for release 2013-02-26 07:49:35 -08:00
Kohsuke Kawaguchi b698a33616 [maven-release-plugin] prepare for next development iteration 2013-02-25 22:13:41 -08:00
Kohsuke Kawaguchi 309e9688e3 [maven-release-plugin] prepare release jenkins-1.503 jenkins-1.503 2013-02-25 22:13:40 -08:00
Kohsuke Kawaguchi 319372b887 [FIXED JENKINS-12542] upgraded to XStream 1.4.4
There are several incompatibilities in XStream 1.4 that resulted in our
changing the core, but according to the text search on all the public
plugins, none of these changes affect the 600+ plugins we have today.

However, it is still possible that there are some parts of XStream 1.3
that plugins depend on but the core doesn't depend on --- we won't be
able to tell those problems at this point.
2013-02-25 19:20:33 -08:00
Kohsuke Kawaguchi bea901f653 recording pull request #716 since these are significant 2013-02-25 12:13:25 -08:00
Jesse Glick 3a0126f780 [FIXED JENKINS-16952] Not all log messages were being captured at /log/all. 2013-02-25 14:13:01 -05:00
Peter Hayes d62e95a976 Run Parameter's will now contribute an environment variable for the
target run's display name.

The environment variable will be named <PARAM_NAME>_NAME and will
contain the display name of the target build.
2013-02-25 13:40:01 -05:00
Kohsuke Kawaguchi e839472a17 Merge branch 'rc' 2013-02-25 10:06:05 -08:00
Kohsuke Kawaguchi 20bbcffa4c Fixed a mess-up in the changelog.
Not sure what has happened --- perhaps some of the markers were off and
that confused the update script?

Will need to watch out for the next RC run.
2013-02-25 10:05:15 -08:00
Jesse Glick f5abeb5f4d Merge pull request #716 from tan9/master
Add/update Chinese (traditional) translation.
2013-02-25 09:39:35 -08:00
Jesse Glick b14a7a36e4 [FIXED JENKINS-16881] Introduced XStream2.toXMLUTF8. 2013-02-25 12:13:58 -05:00
Daniel Khodaparast a067ec4edc Merge pull request #718 from logangorence/master
Fixed French Translation
2013-02-23 23:35:08 -08:00
Logan Gorence cedfd90d5d [FIXED JENKINS-12470] 2013-02-23 22:54:52 -08:00
Olivier Lamy b76f16bf60 use maven wagon 2.4 2013-02-23 22:41:48 +01:00
Pei-Tang Huang bbf1a08f03 Align to commit 2edf32221f. 2013-02-23 23:20:13 +08:00
Pei-Tang Huang 0d864db7f5 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2013-02-23 23:01:34 +08:00
Christoph Kutzinski 088c08485f [FIXED JENKINS-16928] Don't create mojo config key if it didn't exist.
Fixes: Maven2 builds with non-standard test mojos failed.
2013-02-23 11:51:20 +01:00
Kohsuke Kawaguchi 2edf32221f [FIXED JENKINS-12629]
Added the -noCertificateCheck option (the option name is consistent with
the slave.jar) that lets users bypass the HTTPS certificate check.

This allows trivial man-in-the-middle attack, so HTTPS will no longer be
HTTPS.
2013-02-22 16:07:11 -08:00
Jesse Glick 54bbbaa253 JUnit 4 broadly supported; no reason to keep a separate junit4 root just for UseRecipesWithJenkinsRuleTest. 2013-02-22 16:40:57 -05:00
Jesse Glick 3e4479d85a Merge branch 'master' into no-maven-junit-plugin 2013-02-22 16:36:58 -05:00
Jesse Glick 5d68a20700 Using new assertFails method wherever possible to simplify tests. 2013-02-22 16:35:27 -05:00
Jesse Glick b9c18a7b4c [FIXED JENKINS-16844] MenuItem.post allows context menu items like Build Now to send a POST request.
Currently just shows a hover notification; TBD if there are use cases for displaying the response.
2013-02-21 19:16:41 -05:00
Jesse Glick 09c7cf6ad7 [JENKINS-15156] Found a problem with uninitialized run maps in new Maven modules.
Not observed in actual usage, but reproducible (for me at least, though apparently not ci.jenkins-ci.org) in a test:
java.lang.AssertionError: null
    at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:628)
    at jenkins.model.lazy.AbstractLazyLoadRunMap.all(AbstractLazyLoadRunMap.java:581)
    at jenkins.model.lazy.AbstractLazyLoadRunMap.entrySet(AbstractLazyLoadRunMap.java:243)
    at java.util.AbstractMap$2$1.<init>(AbstractMap.java:378)
    at java.util.AbstractMap$2.iterator(AbstractMap.java:377)
    at hudson.util.RunList.iterator(RunList.java:103)
    at hudson.util.RunList.size(RunList.java:114)
    at hudson.maven.MavenProjectTest.testDeleteSetBuildDeletesModuleBuilds(MavenProjectTest.java:159)
2013-02-21 15:19:19 -05:00
Jesse Glick fd0657ef9e [JENKINS-16917] hudson.plugins.downstream_ext.DownstreamTrigger.DescriptorImpl should not be extending BuildTrigger.DescriptorImpl since it does not produce a BuildTrigger from newInstance.
(Generally there is no reason to subclass a Descriptor type which is already an @Extension rather than an explicit abstract supertype, but this is a bit more conservative change than just making it final.)
2013-02-21 14:29:43 -05:00
Jesse Glick 8ccb46248e systemPropertyVariables preferred to systemProperties and makes for smaller diff. 2013-02-21 13:30:25 -05:00
Jesse Glick 383ab4d689 Merge branch 'master' into no-maven-junit-plugin 2013-02-21 13:22:40 -05:00
Jesse Glick 940d743e4d interactiveBreak should never been committed without being commented out. 2013-02-21 13:22:24 -05:00
Jesse Glick 84ea098aab Merge branch 'master' into no-maven-junit-plugin 2013-02-21 13:19:54 -05:00
kkkon 8a9e1ab59f [FIXED JENKINS-16846] fix logic and add test
FilePath#moveAllChildrenTo faild,
when same name directory exist.

change Void to void, recursive_invoke is internal helper function.

thanks review by jglick
2013-02-21 19:30:36 +09:00
Jesse Glick 263b4e4764 Merge pull request #717 from albers/translation
translation cleanup
2013-02-20 07:58:58 -08:00
Harald Albers 9a5c66fdce translation cleanup
purged some dislocated messages that survived my former cleanups
2013-02-20 10:58:57 +01:00
Harald Albers 58a2ff7a6a translation cleanup
removed translations from GlobalSecurityConfiguration and jenkins/model/Jenkins
that should only exist in GlobalCloudConfiguration
2013-02-20 10:57:52 +01:00
Harald Albers 9652aa6dcf translation cleanup
removed translations from GlobalSecurityConfiguration and jenkins/model/Jenkins
that should only exist in GlobalQuietPeriodConfiguration and config-quietPeriod
added translations based on messages from corresponding locations
2013-02-20 10:57:52 +01:00
Harald Albers f355e4d18b translation cleanup
removed translations from GlobalSecurityConfiguration and jenkins/model/Jenkins
that should only exist in GlobalSCMRetryCountConfiguration and config-retryCount
added translation based on messages from corresponding locations
corrected wrong property names
2013-02-20 10:57:51 +01:00
Pei-Tang Huang 408edbbc5f Add Chinese (traditional) translation. 2013-02-20 14:26:02 +08:00
Pei-Tang Huang 46ff0607ff Correct example expression. 2013-02-20 14:25:43 +08:00
Pei-Tang Huang 427726b85f Add/update Chinese (traditional) translation. 2013-02-20 12:57:44 +08:00
beta ba04edcc8c Merge branch 'master' of https://github.com/jenkinsci/jenkins
Conflicts:
	core/src/main/resources/jenkins/model/Jenkins/help-rawBuildsDir.html
	core/src/main/resources/jenkins/model/Jenkins/help-rawWorkspaceDir.html
2013-02-18 20:22:06 +08:00
Christoph Kutzinski c98ca86b7d Changelog for [JENKINS-16630] 2013-02-17 11:17:00 +01:00
Christoph Kutzinski ad64bcd612 Merge pull request #691 from fredg02/JENKINS-16630
[FIXED JENKINS-16630] Human readable file size method returns ",00" for files with byte length 0
2013-02-17 01:53:07 -08:00
Kohsuke Kawaguchi 17fabea10c the trunk is toward 1.504-SNAPSHOT 2013-02-16 18:20:09 -08:00
Kohsuke Kawaguchi 59c4aaf80f creating an RC branch 2013-02-16 18:20:03 -08:00
Kohsuke Kawaguchi acd9f2c040 Merge branch 'master' of github.com:jenkinsci/jenkins 2013-02-16 11:40:51 -08:00
Kohsuke Kawaguchi 9e68fed9fe merged back the RC branch
Conflicts:
	core/src/main/java/jenkins/model/Jenkins.java
	test/src/test/java/hudson/bugs/JnlpAccessWithSecuredHudsonTest.java
2013-02-16 11:40:16 -08:00
Christoph Kutzinski cff691e05a [FIXED JENKINS-16843] Maven 3 builds ignored quiet (-q) and debug (-X) flags 2013-02-16 20:28:02 +01:00
John McNally e746643566 [FIXED JENKINS-16719] Combobox with relative dependencies does not work
* core/src/main/resources/lib/form/combobox/combobox.js
  Increase index to 100, so that parent form elements can be initialized before
  parameters in fillDependsOn are extracted.

* test/src/test/java/lib/form/ComboBoxTest.java
* test/src/test/resources/lib/form/ComboBoxTest/CompoundField/config.jelly
* test/src/test/resources/lib/form/ComboBoxTest/CompoundFieldComboBoxBuilder/config.jelly
  New test to confirm null is not passed for relative dependent arguments
2013-02-16 11:01:35 -08:00
Kohsuke Kawaguchi a6dddf2917 [FIXED JENKINS-11577]
Traditionally, matrix axis values are only exposed as "build variables", and it was up to individual build steps and others to treat them equally like environment variables.

However, in practice, this distinction between environment variables vs build variables didn't serve any useful purposes, and the down side (of some plugins only expanding env vars in the ${VAR} notation and not build variables) was probably bigger than whatever benefit this distinction was supposed to bring.

In this fix, we are exposing matrix axis values also as environment variables. This will make them recognizable from plugins that only expand environment variables, such as parameterized trigger plugins as indicated in the original bug report.

This was motivated by pull request #701 but fix was made differently.
2013-02-16 10:57:41 -08:00
Kohsuke Kawaguchi b225178c77 To make the previous change more effective, these synchronized keywords need to go as well.
This change is safe because (i) those actions are read-only and (ii) if they produce data that's bit old, that isn't really noticeable.
2013-02-16 10:34:33 -08:00
joeljohnson 2f2873800e Changing the sync to only sync before lazy loading the actions.
The Actionable#getActions() method only needs to be synchronized when lazy loading. After that, the synchronization is superfluous and impacts performance.
Since the field is volatile, the double-check block works in JDK5+. See http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html for more in
Analyzing various thread dumps, many threads and requests stall on this method waiting for the lock. Since the lock isn't necessary in most cases anyway,
2013-02-16 10:30:06 -08:00