mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 21:17:54 -05:00
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:
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user