tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/tests/jenkins: check if jenkins is available
Franz Pletz
8 years ago
0f18f4af
da8bf8e0
+4
-1
1 changed file
expand all
collapse all
unified
split
nixos
tests
jenkins.nix
+4
-1
nixos/tests/jenkins.nix
···
36
36
startAll;
37
37
38
38
$master->waitForUnit("jenkins");
39
39
+
40
40
+
$master->mustSucceed("curl http://localhost:8080 | grep 'Authentication required'");
41
41
+
39
42
print $master->execute("sudo -u jenkins groups");
40
43
$master->mustSucceed("sudo -u jenkins groups | grep jenkins | grep users");
41
44
···
44
47
45
48
$slave->mustFail("systemctl is-enabled jenkins.service");
46
49
'';
47
47
-
})
50
50
+
})