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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to