Ensure all publish steps are after tests have passed (#1860)

* Docker publish is after test and build parallel block

* Move Bintray upload condition into stage

* Parallelize the uploads

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
This commit is contained in:
Edward
2019-08-15 13:40:34 +10:00
committed by GitHub
parent cdb4a525d0
commit 1b716a8d9f

14
Jenkinsfile vendored
View File

@@ -161,7 +161,9 @@ try {
}
}
}
}, DockerImage: {
}
parallel DockerImage: {
def stage_name = 'Docker image node: '
def docker_folder = 'docker'
def reports_folder = docker_folder + '/reports'
@@ -233,12 +235,10 @@ try {
}
}
}
}
if (shouldPublish()) {
BintrayPublish: {
def stage_name = "Bintray publish node: "
node {
}, BintrayPublish: {
def stage_name = "Bintray publish node: "
node {
if (shouldPublish()) {
checkout scm
docker.image(docker_image_dind).withRun('--privileged') { d ->