Skip to content

Commit

Permalink
Deparallelise jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesba committed Oct 28, 2019
1 parent 442ef79 commit fc06c24
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pipeline {
}
}
stage ("Tests") {
parallel {
stages {
stage ("Py2.7 Linting Check") {
steps {
script {
Expand Down Expand Up @@ -79,7 +79,7 @@ pipeline {
bbcGithubNotify(context: "lint/flake8_3", status: env.lint3_result)
}
}
}
}
stage ("Build Docs") {
steps {
sh 'TOXDIR=/tmp/$(basename ${WORKSPACE})/tox-docs make docs'
Expand Down Expand Up @@ -149,7 +149,7 @@ pipeline {
}
}
stage ("Build Packages") {
parallel{
stages {
stage ("Build Deb with pbuilder") {
steps {
script {
Expand Down Expand Up @@ -181,15 +181,15 @@ pipeline {
when {
anyOf {
expression { return params.FORCE_PYUPLOAD }
expression { return params.FORCE_PYPIUPLOAD }
expression { return params.FORCE_PYPIUPLOAD }
expression { return params.FORCE_DEBUPLOAD }
expression { return params.FORCE_DOCSUPLOAD }
expression {
bbcShouldUploadArtifacts(branches: ["master", "dev"])
}
}
}
parallel {
stages {
stage ("Upload Docs") {
when {
anyOf {
Expand Down

0 comments on commit fc06c24

Please sign in to comment.