sitespeedio / jenkins.sitespeed.io

A Jenkins plugin for sitespeed.io
Apache License 2.0
31 stars 3 forks source link

Make sitespeed.io executing on slaves #10

Open lampietti opened 10 years ago

lampietti commented 10 years ago

There's an incompatibility to run this plugin with slaved configured jobs :

1/ sitespeed.io runs on master, whatever the job configuration is

2/ for jobs running on slaves, the sitespeed.io executing on master try to create an output dir with the slave workspace directory path :(

I open this issue today, but i will try to add a patch later.

soulgalore commented 10 years ago

Hi @lampietti , yes that is something that is really needed. I haven't tried with slaves and it would be lovely if you could add a patch. I'm working moving the configuration of the home dir to Jenkins real configuration setup, I guess that also would make it cleaner? I think I can checkin that in a couple if days (don't have so much time the coming days).

Thinking on how I can set master & slave the easiest way, guess something like this with Vagrant: http://larrycaiyu.com/blog/2011/10/21/make-ci-easier-with-jenkins-ci-and-vagrant/

Or do you have any suggestions?

JeroenVdb commented 10 years ago

Am I correct it isn't possible to run sitespeed.io when your job is running on a slave?

soulgalore commented 10 years ago

Hi @JeroenVdb , if you run it using the Jenkins plugin it will not work, but if you run it standalone, just running the script and using plugins to copy the data etc, I think it would work. Haven't tested yet though, I'm trying to find time to finalize 3.0 so I can start doing beta releases, hopefully I can start doing thing next week.

Best Peter