This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You put the service file in `/lib/systemd/system/` | |
On each server, for each slave name, create a file named | |
/var/lib/jenkins/SLAVENAME.env | |
and edit it to have right SLAVE and SECRET values. | |
Then make one symlink like this for each slave name (e.g. "light-jobs" or "medium-jobs" or "tasks": | |
ln -s /lib/systemd/system/[email protected] /etc/systemd/system/multi-user.target.wants/[email protected] | |
e.g. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ConfigParser | |
from selenium import webdriver | |
class WebdriverFactory(object): | |
def setup_selenium_from_config(self, config): | |
"""Start selenium with values from config file, or defaults | |
rather than requiring the command-line options. File must be | |
ConfigParser compliant and have a section called 'SELENIUM'. | |
""" |