Browse Source

fabfile: run clean after building package; add jenkins-slave4 host

tags/v0.1.0
Michael Prokop 9 years ago
parent
commit
8f859e19ef
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      fabfile.py

+ 2
- 1
fabfile.py View File

@@ -14,7 +14,7 @@ def set_hosts():
if not env.hosts:
env.hosts = []

for host in 'jenkins', 'jenkins-slave1', 'jenkins-slave2', 'jenkins-slave3':
for host in 'jenkins', 'jenkins-slave1', 'jenkins-slave2', 'jenkins-slave3', 'jenkins-slave4':
config = paramiko.SSHConfig()
config.parse(open(os.path.expandvars("$HOME") + '/.ssh/config'))
h = config.lookup(host)
@@ -27,6 +27,7 @@ def build():
local('rm -f ../jenkins-debian-glue_*all.deb')
local('fakeroot debian/rules clean')
local('fakeroot debian/rules binary')
local('fakeroot debian/rules clean')

@hosts(set_hosts())
def deploy():


Loading…
Cancel
Save