mirror of https://github.com/jenkinsci/docker.git
run test only on Linux
This commit is contained in:
parent
108cc743e9
commit
87b67c6ce6
|
|
@ -130,3 +130,7 @@ runInScriptConsole() {
|
||||||
assert "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';" get-csp-value
|
assert "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';" get-csp-value
|
||||||
assert 'Europe/Madrid' get-timezone-value
|
assert 'Europe/Madrid' get-timezone-value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "[${SUT_DESCRIPTION}] ensure that 'ps' command is available" {
|
||||||
|
command -v ps # Check for binary presence in the current PATH
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,6 @@ if(-Not (Test-CommandExists docker)) {
|
||||||
Write-Error "docker is not available"
|
Write-Error "docker is not available"
|
||||||
}
|
}
|
||||||
|
|
||||||
if(-Not (Test-CommandExists ps)) {
|
|
||||||
Write-Error "ps is not available"
|
|
||||||
}
|
|
||||||
|
|
||||||
function Retry-Command {
|
function Retry-Command {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue