mirror of https://github.com/hyperledger/besu
Deleting unused windows jenkinsfile (#1421)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>pull/2/head
parent
aa56b73002
commit
5ca28687ec
@ -1,69 +0,0 @@ |
||||
def runDocker(image, cmd) { |
||||
powershell """ |
||||
docker run ` |
||||
--rm ` |
||||
-w "${env.WORKSPACE}" ` |
||||
-v "${env.WORKSPACE}:${env.WORKSPACE}:rw" ` |
||||
-e "WORKSPACE=${env.WORKSPACE}" ` |
||||
-e "BUILD_NUMBER=${env.BUILD_NUMBER}" ` |
||||
$image powershell -C "$cmd" |
||||
""" |
||||
} |
||||
|
||||
pipeline { |
||||
agent none |
||||
stages { |
||||
stage("Smoke on openjdks") { |
||||
parallel { |
||||
stage("Smoke JDK8") { |
||||
agent { |
||||
label "windows-server-2019" |
||||
} |
||||
steps { |
||||
runDocker( |
||||
"openjdk:8-windowsservercore", |
||||
".\\gradlew build integrationTest acceptanceTest referenceTest" |
||||
) |
||||
} |
||||
post { |
||||
always { |
||||
junit "**\\build\\test-results\\**\\*.xml" |
||||
} |
||||
} |
||||
} |
||||
stage("Smoke JDK11") { |
||||
agent { |
||||
label "windows-server-2019" |
||||
} |
||||
steps { |
||||
runDocker( |
||||
"openjdk:11-windowsservercore", |
||||
".\\gradlew build integrationTest acceptanceTest referenceTest" |
||||
) |
||||
} |
||||
post { |
||||
always { |
||||
junit "**\\build\\test-results\\**\\*.xml" |
||||
} |
||||
} |
||||
} |
||||
stage("Smoke JDK12") { |
||||
agent { |
||||
label "windows-server-2019" |
||||
} |
||||
steps { |
||||
runDocker( |
||||
"openjdk:12-windowsservercore", |
||||
".\\gradlew build integrationTest acceptanceTest referenceTest" |
||||
) |
||||
} |
||||
post { |
||||
always { |
||||
junit "**\\build\\test-results\\**\\*.xml" |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue