Commit Graph
11799 Commits
Author SHA1 Message Date
Jesse Glick 0ee5f00858 [JENKINS-16332] Trying to determine if CanonicalIdResolver is implicated. 2013-09-16 11:30:56 -04:00
Oliver Gondža b70f4c07f2 Add forgotten @since from pull reguest #803 2013-09-16 11:11:50 +02:00
Oliver Gondža 37d1b8d7a4 Merge pull request #855 from olivergondza/node-permissions 2013-09-16 11:00:22 +02:00
Kohsuke Kawaguchi 9c05c67743 users shouldn't be exposed to a bug in the code 2013-09-15 13:04:25 -07:00
Kohsuke Kawaguchi a8ed664755 A Trigger timer thread is used for many things, so its execution can delay significantly.
Use our own queue
2013-09-15 08:10:23 -07:00
Kohsuke Kawaguchi 2c9761424b When the executor is finished, rerun the queue maintenane to allocate more tasks 2013-09-15 08:09:12 -07:00
Kohsuke Kawaguchi 45f125a0de added another Executor-related utility class 2013-09-15 07:34:54 -07:00
Kohsuke Kawaguchi 5cd4c63ccb fixing a test failure 2013-09-14 16:04:37 -07:00
Kohsuke Kawaguchi 9264f6c761 parked can be a local variable now 2013-09-14 16:04:29 -07:00
Kohsuke Kawaguchi 2fa89daf54 added @Terminator as the opposite of @Initializer 2013-09-14 13:04:35 -07:00
Stefan Wolf dd2b4a1805 [FIXED JENKINS-9637] Make link on Job page to aggregated Test result appear correctly 2013-09-13 22:18:08 +02:00
Kohsuke Kawaguchi 7ec8787122 Wrong target 2013-09-13 12:54:53 -07:00
Kohsuke Kawaguchi bb848952e3 More doc improvements 2013-09-13 12:30:07 -07:00
Jesse Glick 42916285c6 @since 1.526 for 04d85eb476 2013-09-13 15:28:55 -04:00
Kohsuke Kawaguchi b698b672ec [FIXED JENKINS-17236] Introduce ArtifactManager
Merge branch 'ArtifactManager-JENKINS-17236'
2013-09-13 12:17:56 -07:00
Kohsuke Kawaguchi f60b631a8a targeting to 1.531 2013-09-13 12:16:34 -07:00
Kohsuke Kawaguchi d3a13f46e6 making the method more discoverable by having an instance method 2013-09-13 12:00:22 -07:00
Kohsuke Kawaguchi f7900f2759 doc improvement 2013-09-13 11:58:49 -07:00
Mark Waite 5c6553c825 Fix recently introduced javadoc warning
Use an href for external URL in @see clause
2013-09-13 05:53:41 -06:00
Oliver Gondža a12c22d43d Merge pull request #941 from ctapobep/master
[FIXED JENKINS-18721] Improvement of ListView render performance
2013-09-13 04:00:08 -07:00
Oliver Gondža 83d5ac10a5 [JENKINS-18485] Enable Computer.EXTENDED_READ permission using "hudson.security.ExtendedReadPermission". 2013-09-12 17:05:06 +02:00
Jesse Glick b74750934c Merge branch 'master' into ArtifactManager-JENKINS-17236
Conflicts:
	core/src/main/java/hudson/FilePath.java
	core/src/main/java/hudson/tasks/ArtifactArchiver.java
2013-09-12 07:57:32 -04:00
Jesse Glick 62ed20ee3f Merge pull request #891 from ndeloof/JENKINS-19034
[FIXED JENKINS-19034] restore missing buildnumber-ID symlink
2013-09-12 04:47:40 -07:00
Jesse Glick 3f3e05fa4a Merge pull request #928 from olivierdagenais/FixRandomHttp404
[FIXED JENKINS-19418] Fix random HTTP 404 when viewing build details
2013-09-12 04:44:41 -07:00
Jesse Glick 27a88de83f Merge pull request #884 from Vlatombe/pr/title-full-displayName
Display the full display name in title for jobs and views
2013-09-12 04:40:23 -07:00
ctapobep 87dd59de8e Fixed a typo 2013-09-12 15:27:23 +04:00
ctapobep ef74ed31a1 [JENKINS-18721] Imrovement of performance - now when ListView builds up it asks for all the jobs only once. This is important because RBAC plugin each time checks permissions for all these jobs which impacts performance 2013-09-12 12:18:28 +04:00
Jesse Glick b02d45737e [FIXED JENKINS-19473] Trying to work around jzlib bug. 2013-09-11 17:45:10 -04:00
Jesse Glick 96187b71e7 f:repeatableProperty documentation talks about including f:repeatableDeleteButton, but then fails to actually call d:invokeBody.
While you could put the delete button at the end of the nested config.jelly, this is ugly since it prevents reuse;
better to specify the delete button in the form using f:repeatableProperty.
f:repeatableHeteroProperty already inserted a delete button automatically, so its documentation was incorrect.
2013-09-11 15:06:31 -04:00
Kohsuke Kawaguchi 4373a60256 the trunk is toward 1.532-SNAPSHOT 2013-09-09 16:32:04 -07:00
Jesse Glick 36e775876b Run.getResult may be null, so check for that.
Observed in 1.509.2:
Parsing POMs
Failed to transfer Could not find artifact … in central (http://repo.maven.apache.org/maven2)
Archiving artifacts
ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
java.lang.NullPointerException
	at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:138)
	at org.zeroturnaround.jenkins.LiveRebelDeployBuilder.getArtificatOrMetadata(LiveRebelDeployBuilder.java:194)
	at org.zeroturnaround.jenkins.LiveRebelDeployBuilder.uploadConfiguration(LiveRebelDeployBuilder.java:171)
	at org.zeroturnaround.jenkins.LiveRebelDeployBuilder.perform(LiveRebelDeployBuilder.java:108)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:812)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:828)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:779)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:594)
	at hudson.model.Run.execute(Run.java:1575)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:485)
2013-09-09 17:19:25 -04:00
Kohsuke Kawaguchi 3275456dc4 this method needs no synchronization 2013-09-09 13:27:30 -07:00
Kohsuke Kawaguchi 0f46fb78fe Experiment revealed that a thread's interrupt flag cannot be set before it's started:
The following code prints false.

    public static void main(String[] args) {
        Thread t = new Thread() {
            @Override
            public void run() {
                System.out.println(Thread.currentThread().isInterrupted());
            }
        };
        t.interrupt();
        t.start();
    }
2013-09-09 13:06:59 -07:00
Kohsuke Kawaguchi 6d9c83a86d if an executor is interrupted before it's started, just throw it away 2013-09-09 13:06:09 -07:00
Kohsuke Kawaguchi 7b8a153e2a killComputer only interrupts idle threads 2013-09-09 13:02:39 -07:00
Jesse Glick 7790dbcabf [FIXED JENKINS-19515] Try to avoid truncation of fingerprint storage files.
1. Use AtomicFileWriter on the hypothesis that an exception during save() caused truncation.
2. Improve logging from the cleanup thread since that may be related to the root cause.
3. Regardless of the cause, recover more gracefully by deleting any truncated file rather than throwing the error up.
2013-09-09 13:24:58 -04:00
Jesse Glick 89a11462c7 [FIXED JENKINS-18337] Must use xmlEscape for freeform text fields in fingerprint XML. 2013-09-09 10:06:55 -04:00
Kohsuke Kawaguchi 9b058aebc3 killComputer interrupts executors, so no need to do it separately 2013-09-09 00:57:54 +01:00
Kohsuke Kawaguchi 111a8d364c more simplification and bug fix 2013-09-09 00:44:42 +01:00
Kohsuke Kawaguchi 4d9429f88f needs to be checking a different method 2013-09-09 00:40:41 +01:00
Kohsuke Kawaguchi 74c2ab460c further simplification 2013-09-09 00:30:31 +01:00
Vojtech Juranek 3eea396489 [FIXED JENKINS-19488] Expand variable in a consistent way 2013-09-06 13:09:01 +02:00
Vincent Latombe 127c1145f9 Fixing copy-paste error 2013-09-06 08:54:26 +02:00
Jesse Glick a219148891 Noting possibility of summary.jelly. 2013-09-05 23:34:50 +02:00
Kohsuke Kawaguchi 99d62c7c2c adding more convenience constructors 2013-09-05 11:55:55 +02:00
Kohsuke Kawaguchi 73073387c8 Still a work in progress 2013-09-04 23:11:24 -07:00
Nicolas De Loof dfd60492e7 fixed duplicate builds in view build history when nested in folders
Jenkins with folders A job A/j
a top-level view to recurse into subfolders and include all available jobs and folders (so A and A/j)
=> builds for A/j are included twice, as view.builds iterate on its items, so get A/j + builds from A.
2013-09-04 17:58:07 +02:00
rednuht 8ab50323c5 Update AbstractProject.java
Should follow this statement:
"Called after a job has its configuration updated."
2013-09-04 12:13:12 +02:00
rednuht fd696e1911 Update AbstractItem.java
Should follow this statement:
"Called after a job has its configuration updated."
2013-09-04 12:13:11 +02:00
Daniel Olausson e81a9076c4 JENKINS-17108. This solves the problem with ItemListner.onUpdated not being called if the project was disabled/enabled by pushing the button on the project page. Also solved the problem with ItemListener.onUpdated not getting called if the project description was updated using the edit description on the project page. 2013-09-04 12:13:11 +02:00