mindless
73fad75d04
[FIXED HUDSON-291] Add new ItemListener.onScheduled(Queue.Task) interface method
...
and invoke this from Queue.add(). Hudson registers a listener to write what
triggered each build into the console output.
BuildableItem.scheduleBuild() now takes triggeredBy parameter,
ParameterizedProjectTask stores triggeredBy value for scheduled tasks,
and Trigger has scheduleBuild convenience methods to use its descriptor's
displayName as the triggeredBy value.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14823 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 18:43:20 +00:00
kohsuke
0ac9afb603
fixed a possible race condition ( http://www.nabble.com/build-executors-%3E-1-%28Slave%29-td21689700.html )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14822 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 18:03:04 +00:00
kohsuke
9e0b0c4d2e
a debug statement crept in
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14821 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 17:57:16 +00:00
fujibee
3ea134b693
Allow anonymous access to the path of slave agent listener. It must be used by only slave agents. It would NOT mean to publish JNLP files including secret key.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14814 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 10:23:25 +00:00
kohsuke
4cc7b23188
[FIXED HUDSON-2862]
...
implemented a new extension point to add a new column to ListView.
In 1.279. Needs to be tested.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14813 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 06:10:21 +00:00
kohsuke
8bb0f092f8
Made the code robust against possible race condition. See http://www.nabble.com/Anyone-using-AccuRev-plugin--tt21634577.html#a21671389
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14812 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 04:39:00 +00:00
ertanden
412d5309b0
Enable SVN tagging action as a promotion step
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14809 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-26 22:11:28 +00:00
huybrechts
695a35191d
HUDSON-2342: Parametrized Project can't be unparametrized
...
checking for value of 'parameterized' checkbox
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14806 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-26 20:49:38 +00:00
martinficker
6d2a15ef23
fix: createPath failed for offline Slaves
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14796 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-25 20:48:44 +00:00
kohsuke
92d1759bcb
Added another variable 'index' that lets people create sparse matrix
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14794 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-25 17:01:03 +00:00
kohsuke
12e6a35672
this doesn't compile
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14793 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-25 16:18:27 +00:00
kohsuke
59c4d4d9c5
added another method
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14788 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 23:59:58 +00:00
kohsuke
0721611f7d
added a convenience method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14787 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 23:55:26 +00:00
kohsuke
b501c9be8f
added min/max
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14785 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 23:38:12 +00:00
kohsuke
3cf7a3fa43
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14784 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 23:22:50 +00:00
kohsuke
67eed7c0ef
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14783 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 23:08:44 +00:00
kohsuke
82af5ed609
explained the expected HTML fragment.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14781 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 22:59:04 +00:00
kohsuke
73fb6b3cc6
support jobMain.jelly to allow contributions into the main job page
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14780 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 22:58:12 +00:00
kohsuke
395adfffc3
[FIXED HUDSON-2813] Applied a change with a bit of modifications. This will be 1.279
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14777 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 22:04:35 +00:00
kohsuke
684e94ca55
made Hudson more robust to clock out of sync problem. See http://www.nabble.com/Hudson---test-parsing-failure-tt21520694.html
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14776 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 22:02:49 +00:00
kohsuke
1600c8b24f
addedd the register method
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14773 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 17:45:10 +00:00
kohsuke
0bfe2bea3a
task equality is based on equals()
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14770 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:47:28 +00:00
kohsuke
987fecd3f8
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14769 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:41:09 +00:00
kohsuke
672ffe80bc
another overloaded removeProperty
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14767 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:09:22 +00:00
kohsuke
e9d491a841
added a method to remove a JobProperty
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14766 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:05:59 +00:00
kohsuke
5e77eaae70
added a method to copy a job
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14765 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:03:49 +00:00
kohsuke
96a695cbf6
reverting rev.14741. JNLP files contain secret keys that need to be protected.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14756 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 01:06:47 +00:00
kohsuke
72362179ea
The "administer" permission should allow a person to do everything.
...
(<a href="http://www.nabble.com/Deleting-users-from-Matrix-Based-security-td21566030.html#a21571137 ">discussion</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14752 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 22:44:08 +00:00
kohsuke
f428078b71
needs to remain backward compatible, so adding back getACL(AbstractProject) that was lost in rev.14640.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14750 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 18:46:40 +00:00
kohsuke
d673bad653
Descriptor can infer the corresponding Describable most of the time, because it's the outer class. This is more DRY.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14749 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 16:18:51 +00:00
kohsuke
ac848d085f
Descriptor can infer the corresponding Describable most of the time, because it's the outer class.
...
This is more DRY.
This should also work for anonymous classes, so those changes to follow.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14747 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 16:09:15 +00:00
fujibee
aa14701507
Allow anonymous access to the paths of slave agent listener and JNLP file launching slave. These paths must be used by slave agents.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14741 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 09:52:29 +00:00
kohsuke
080a542ca2
doc fix
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14732 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 23:25:22 +00:00
huybrechts
b55337db16
[HUDSON-2659] allow canceling of parameterized builds in the queue
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14731 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 23:19:58 +00:00
kohsuke
94530bc5f0
Create "lastStable" symlink on the file system to point to the applicable build.
...
(<a href="http://www.nabble.com/lastStable-link-td21582859.html ">report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14729 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 22:59:55 +00:00
kohsuke
99a09d9672
An user reported that this can be null, too. Since this is just meant to be an helpful error diagnosis, if it's null, just don't bother and let go.
...
http://www.nabble.com/NullPointerException-in-SVN-Checkout-Update-td21609781.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14727 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 21:36:15 +00:00
rtyler
79c6195be1
Reverting r14707, change is too intrusive and doesn't really "solve" the
...
problem.
A better solution would be to allow this to be configurable for the
slaves, a "Cleanup TImeout" if you will
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14720 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 20:33:19 +00:00
huybrechts
281487de87
[HUDSON-2409] build parameters can be submitted with a GET or POST to /job/<name>/buildWithParameters
...
Only String parameters are currently supported.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14718 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 20:14:54 +00:00
dvrzalik
42d83b44dd
Slaves should also have the ability to return plain text result of a groovy script
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14712 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 16:52:56 +00:00
huybrechts
695b4ba8a3
[HUDSON-2903] pass parameters in a matrix build
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14709 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 11:56:11 +00:00
rtyler
56a86e2ab4
Correct an issue that occurs when you delete a job specifically tied to
...
a slave node
(See email to users@ titled: "Deleting jobs on slaves doesn't delete job
workspace")
Basically this properly removes the workspace directory of jobs assigned
to slave machines when the job owning the workspace is removed.
There still exists an issue where renaming a job assigned to a slave
machine copies the workspace to a new workspace folder named after the
new job, but fails to properly remove the former workspace directory
(patch is being developed now, expected tomorrow)
Developed-by: Adam Christian <adam@slide.com >
Acked-by: R. Tyler Ballance <tyler@slide.com >
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14707 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 05:03:00 +00:00
kohsuke
63a8adbed2
ant throws an exception if the base dir doesn't exist.
...
This breaks some of the error checks in places like ArtifactArchiver or JavadocArchiver, so return 0 instead of IOException.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14704 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 02:12:31 +00:00
kohsuke
2fdcdc8cb4
looks like I should be collecting "java.version" and not "java.vm.version".
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14703 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 01:50:29 +00:00
kohsuke
4b6249ccf2
fixed a JDK6 dependency, thanks to animal-sniffer.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14684 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 02:40:29 +00:00
kohsuke
c210a6d2d8
[FIXED HUDSON-2886]
...
despite what the comment said, the hudsonUrl variable wasn't including the 'tcpSlaveAgentListener'.
This change will be in 1.277.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14675 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 00:17:18 +00:00
kohsuke
f3e9c7c981
improved the message after seeing http://www.nabble.com/CVS-polling-issue-td21565925.html
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14673 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 22:30:55 +00:00
mindless
9075e7b62f
Fix top level People page to show project information again (missing since 1.269)
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14664 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 18:09:48 +00:00
kohsuke
a450b16b9d
code quality improvements
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14662 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 17:11:14 +00:00
mindless
5739219b7e
[FIXED HUDSON-2633] Set minimum of 10 minutes before showing "appears to be stuck"
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14661 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 16:52:54 +00:00
mindless
084226b1f1
[FIXED HUDSON-2873] Require BUILD permission to post results for an external job.
...
(previously had no permission check other than overall READ permission).
Changed AuthorizationStrategy.getACL(AbstractProject) to getACL(Job) and moved
getACL() from AbstractProject.java to Job.java so this permission would apply
to ExternalJob type.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14640 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-19 16:21:44 +00:00