diff options
Diffstat (limited to 'build-aux/Jenkinsfile.full')
-rw-r--r-- | build-aux/Jenkinsfile.full | 70 |
1 files changed, 57 insertions, 13 deletions
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full index f13be068d..b1d46e846 100644 --- a/build-aux/Jenkinsfile.full +++ b/build-aux/Jenkinsfile.full @@ -81,7 +81,7 @@ pipeline { agent { docker { label 'docker' - image 'couchdbdev/debian-stretch-erlang-20.3.8.24-1:latest' + image 'couchdbdev/debian-stretch-erlang-20.3.8.25-1:latest' args "${DOCKER_ARGS}" alwaysPull true } @@ -152,7 +152,8 @@ pipeline { junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml, **/src/mango/nosetests.xml, **/test/javascript/junit.xml' } cleanup { - sh 'rm -rf $COUCHDB_IO_LOG_DIR' + sh 'killall -9 beam.smp || true' + sh 'rm -rf ${WORKSPACE}/* ${COUCHDB_IO_LOG_DIR} || true' } } // post } // stage FreeBSD @@ -160,7 +161,7 @@ pipeline { stage('CentOS 6') { agent { docker { - image 'couchdbdev/centos-6-erlang-20.3.8.24-1:latest' + image 'couchdbdev/centos-6-erlang-20.3.8.25-1:latest' label 'docker' args "${DOCKER_ARGS}" alwaysPull true @@ -204,7 +205,7 @@ pipeline { stage('CentOS 7') { agent { docker { - image 'couchdbdev/centos-7-erlang-20.3.8.24-1:latest' + image 'couchdbdev/centos-7-erlang-20.3.8.25-1:latest' label 'docker' args "${DOCKER_ARGS}" alwaysPull true @@ -249,7 +250,7 @@ pipeline { stage('CentOS 8') { agent { docker { - image 'couchdbdev/centos-8-erlang-20.3.8.24-1:latest' + image 'couchdbdev/centos-8-erlang-20.3.8.25-1:latest' label 'docker' args "${DOCKER_ARGS}" alwaysPull true @@ -294,7 +295,7 @@ pipeline { stage('Ubuntu Xenial') { agent { docker { - image 'couchdbdev/ubuntu-xenial-erlang-20.3.8.24-1:latest' + image 'couchdbdev/ubuntu-xenial-erlang-20.3.8.25-1:latest' label 'docker' args "${DOCKER_ARGS}" alwaysPull true @@ -338,7 +339,7 @@ pipeline { stage('Ubuntu Bionic') { agent { docker { - image 'couchdbdev/ubuntu-bionic-erlang-20.3.8.24-1:latest' + image 'couchdbdev/ubuntu-bionic-erlang-20.3.8.25-1:latest' label 'docker' alwaysPull true args "${DOCKER_ARGS}" @@ -382,7 +383,7 @@ pipeline { stage('Debian Stretch') { agent { docker { - image 'couchdbdev/debian-stretch-erlang-20.3.8.24-1:latest' + image 'couchdbdev/debian-stretch-erlang-20.3.8.25-1:latest' label 'docker' alwaysPull true args "${DOCKER_ARGS}" @@ -426,7 +427,7 @@ pipeline { stage('Debian Buster amd64') { agent { docker { - image 'couchdbdev/debian-buster-erlang-20.3.8.24-1:latest' + image 'couchdbdev/debian-buster-erlang-20.3.8.25-1:latest' label 'docker' alwaysPull true args "${DOCKER_ARGS}" @@ -470,7 +471,7 @@ pipeline { stage('Debian Buster arm64v8') { agent { docker { - image 'couchdbdev/arm64v8-debian-buster-erlang-20.3.8.24-1:latest' + image 'couchdbdev/arm64v8-debian-buster-erlang-20.3.8.25-1:latest' label 'arm64v8' alwaysPull true args "${DOCKER_ARGS}" @@ -511,6 +512,49 @@ pipeline { } // post } // stage + stage('Debian Buster ppc64le') { + agent { + docker { + image 'couchdbdev/ppc64le-debian-buster-erlang-20.3.8.25-1:latest' + label 'ppc64le' + alwaysPull true + args "${DOCKER_ARGS}" + } + } + environment { + platform = 'buster' + sm_ver = '60' + } + stages { + stage('Build from tarball & test') { + steps { + unstash 'tarball' + sh( script: build_and_test ) + } + post { + always { + junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml, **/src/mango/nosetests.xml, **/test/javascript/junit.xml' + } + } + } + stage('Build CouchDB packages') { + steps { + sh( script: make_packages ) + sh( script: cleanup_and_save ) + } + post { + success { + archiveArtifacts artifacts: 'pkgs/**', fingerprint: true + } + } + } + } // stages + post { + cleanup { + sh 'rm -rf ${WORKSPACE}/*' + } + } // post + } // stage /* * Example of how to do a qemu-based run, please leave here @@ -540,12 +584,12 @@ pipeline { } stage('Pull latest docker image') { steps { - sh "docker pull couchdbdev/arm64v8-debian-buster-erlang-20.3.8.24-1:latest" + sh "docker pull couchdbdev/arm64v8-debian-buster-erlang-20.3.8.25-1:latest" } } stage('Build from tarball & test & packages') { steps { - withDockerContainer(image: "couchdbdev/arm64v8-debian-buster-erlang-20.3.8.24-1:latest", args: "${DOCKER_ARGS}") { + withDockerContainer(image: "couchdbdev/arm64v8-debian-buster-erlang-20.3.8.25-1:latest", args: "${DOCKER_ARGS}") { unstash 'tarball' withEnv(['MIX_HOME='+pwd(), 'HEX_HOME='+pwd()]) { sh( script: build_and_test ) @@ -585,7 +629,7 @@ pipeline { agent { docker { - image 'couchdbdev/debian-buster-erlang-20.3.8.24-1:latest' + image 'couchdbdev/debian-buster-erlang-20.3.8.25-1:latest' label 'docker' alwaysPull true args "${DOCKER_ARGS}" |