Commit Graph
11799 Commits
Author SHA1 Message Date
Vojtech Juranek fdc6c1e9cb Remove (probably) forgotten debug message 2013-03-01 00:13:32 +01:00
Nicolas De Loof 7ae055cf34 set convertUpstreaTrigger method package private, just enough to enable testing 2013-02-28 17:42:42 +01:00
Jesse Glick a2dc21d8b6 Some Item.* permissions were missing descriptions. 2013-02-28 10:29:45 -05:00
Nicolas De Loof dbc212e2e3 unit test to reproduce JENKINS-13502 and confirm fix 2013-02-28 11:31:36 +01:00
Jesse Glick b956c4c9c5 JUnit 4.11. 2013-02-27 23:00:59 -05:00
Jesse Glick 0e53cf5f1b If updating stapler-adjunct-timeline to 1.4, ought to also update tests JAR. 2013-02-27 18:42:37 -05:00
Kohsuke Kawaguchi 229ac90bea using the newer version that avoids stapler range dependency 2013-02-27 15:26:08 -08:00
Jesse Glick 42ee6113b7 [JENKINS-15156] Missing call to onCreatedFromScratch caused failures in MatrixProjectTest (when run from Surefire at least). 2013-02-27 16:44:43 -05:00
Nicolas De Loof 5d38d40e55 [FIXED JENKINS-13502] impersonate a SYSTEM to handle upstream build trigger 2013-02-27 20:43:06 +01:00
Jesse Glick 010866ba90 [FIXED JENKINS-15466] More robust handling of Windows JNA errors.
b5ed319 already caught linkage errors but then unconditionally returned false from Util.isSymlink, which is wrong;
we want to fall back to the generic File.canonicalPath comparisons in this case.
2013-02-27 11:11:34 -05:00
Jesse Glick 3ce2e7f023 More information on format upgrades in Javadoc. 2013-02-27 10:51:49 -05:00
vjuranek ec1b6b31bb Merge pull request #720 from petehayes/master
Add run display name as an environment variable when RunParameter is used as a parameter.
2013-02-27 06:50:16 -08:00
vjuranek 70780a9c0d Merge pull request #721 from ialbors/manage_context_menu
Url with contextPath for non-standalone installs.
2013-02-27 06:41:24 -08:00
Vojtech Juranek df4da4b07d Merge remote-tracking branch 'jenkins/master' 2013-02-27 15:41:29 +01:00
Vojtech Juranek 9993468ce4 Merge branch 'revert-ampersand-encoding' of https://github.com/lvotypko/jenkins into pull683
Conflicts:
	core/src/test/java/hudson/UtilTest.java
2013-02-27 15:33:31 +01:00
Ignacio Albors 421df3a5e0 Url with contextPath for non-standalone installs. 2013-02-27 14:35:21 +01:00
Nicolas De Loof fd81195305 removed obsolete comment 2013-02-27 14:18:06 +01:00
Kohsuke Kawaguchi 9eb05f1b62 the trunk is toward 1.505-SNAPSHOT 2013-02-26 20:38:52 -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
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
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
Logan Gorence cedfd90d5d [FIXED JENKINS-12470] 2013-02-23 22:54:52 -08:00
Pei-Tang Huang 0d864db7f5 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2013-02-23 23:01:34 +08: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
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 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 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
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
Richard Mortimer 27f1fd1424 [FIXED JENKINS-16770] missing build title in /rssAll when build has no test result 2013-02-16 10:25:51 -08:00
Kohsuke Kawaguchi 5e4b7bcc36 [FIXED JENKINS-15918] follow-up changes
- Environment variables are by convention upper case, so I'm switching to upper case. This was what the original ticket requested anyway.
- Since the ".jobName" was never documented to begin with, let's not promote that and stick to "_JOBNAME" as the official version.
2013-02-16 10:21:23 -08:00
gcummings 15689d82dc [JENKINS-15918] RunParameter environment variabes contain . character 2013-02-16 10:21:06 -08:00
Harald Albers 29e33588ba translation fixes
added missing translations (save), adjusted an entry to match existing occurrences
corrected missing backslash escapes
deleted dislocated russian property file
2013-02-16 10:11:38 -08:00
Harald Albers e8275fa1cf translation cleanup
removed some translations from GlobalSecurityConfiguration and jenkins/model/Jenkins
that should only exist in MasterComputer, DumbSlave & MasterBuildConfiguration
2013-02-16 10:11:38 -08:00
Harald Albers 762a4a9122 added translations for MasterComputer 2013-02-16 10:11:38 -08:00