Awesome. That was very helpful. Learned a lot based on that.

Is there any reason why Queue.Executable does not have a getUrl() function 
defined? That would make it properly work with the default templates.

Also, haven't looked into the meta data yet. But will be doing so soon.

On Wednesday, May 1, 2013 1:08:57 AM UTC-7, Stephen Connolly wrote:
>
> The way I handle this is to have the Queue.Executable that my task return 
> have a jelly view called executorCell.jelly which I then copy from the 
> normal executorCell.jelly and tweak the progress bar to give the link I 
> want.
>
>
> On 1 May 2013 05:36, Gavin <[email protected] <javascript:>> wrote:
>
>> Hey guys,
>>
>> I'm trying to make a simple plugin that integrates with our inhouse 
>> deployment system. The plan will be for a given build for any job, to be 
>> able to fire off a task which in turn talks to our inhouse apis.
>>
>> Right now I have an Action setup that hits a common resource (stapler? A 
>> doBlah function), and inside there I am firing off a lightweight task.
>>
>> Hudson.getInstance().getQueue().schedule( new DeployerTask( run, env ), 0 
>> );
>>
>> Everything there seems to work fine, but when it shows up under the 
>> executors list, it has a bad link to "/console". I've tracked this down (I 
>> think) to executors.jelly which uses buildProgressBar.jelly, and that has 
>> the link 'href="${rootURL}/${build.url}console"'
>> I can't figure out how to set the .url for this.
>>
>> Can someone point me in the right direction?
>>
>> Additionally, I'm thinking this might not be the best way to handle this 
>> problem. I'm hoping I missed something and there is an extension point that 
>> can be triggered by an action to update a build (add some simple meta 
>> data/html? and maybe update the log) and have a long running task (Queue?)
>>
>> Gavin
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to