You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2022/01/17 00:01:44 UTC
[couchdb] branch jenkins-dynamic-matrix updated: Try to get native builds working first
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch jenkins-dynamic-matrix
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/jenkins-dynamic-matrix by this push:
new 57eb300 Try to get native builds working first
57eb300 is described below
commit 57eb300e4ed4983b109105dd274c67f0dc5df984
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Sun Jan 16 19:01:36 2022 -0500
Try to get native builds working first
---
build-aux/Jenkinsfile.full | 153 ++++++++++++++++++++++-----------------------
1 file changed, 76 insertions(+), 77 deletions(-)
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 5bcf2fb..97e89f2 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -50,47 +50,47 @@ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
ERLANG_VERSION = '24.2'
meta = [
- 'centos7': [
- name: 'CentOS 7',
- spidermonkey_vsn: '1.8.5',
- image: "apache/couchdbci-centos:7-erlang-${ERLANG_VERSION}"
- ],
-
- 'centos8': [
- name: 'CentOS 8',
- spidermonkey_vsn: '60',
- image: "apache/couchdbci-centos:8-erlang-${ERLANG_VERSION}"
- ],
-
- 'bionic': [
- name: 'Ubuntu 18.04',
- spidermonkey_vsn: '1.8.5',
- image: "apache/couchdbci-ubuntu:bionic-erlang-${ERLANG_VERSION}"
- ],
-
- 'focal': [
- name: 'Ubuntu 20.04',
- spidermonkey_vsn: '68',
- image: "apache/couchdbci-ubuntu:focal-erlang-${ERLANG_VERSION}"
- ],
-
- 'stretch': [
- name: 'Debian 9',
- spidermonkey_vsn: '1.8.5',
- image: "apache/couchdbci-debian:stretch-erlang-${ERLANG_VERSION}"
- ],
-
- 'buster': [
- name: 'Debian 10',
- spidermonkey_vsn: '60',
- image: "apache/couchdbci-debian:buster-erlang-${ERLANG_VERSION}"
- ],
-
- 'bullseye': [
- name: 'Debian 11',
- spidermonkey_vsn: '78',
- image: "apache/couchdbci-debian:bullseye-erlang-${ERLANG_VERSION}"
- ],
+ // 'centos7': [
+ // name: 'CentOS 7',
+ // spidermonkey_vsn: '1.8.5',
+ // image: "apache/couchdbci-centos:7-erlang-${ERLANG_VERSION}"
+ // ],
+
+ // 'centos8': [
+ // name: 'CentOS 8',
+ // spidermonkey_vsn: '60',
+ // image: "apache/couchdbci-centos:8-erlang-${ERLANG_VERSION}"
+ // ],
+
+ // 'bionic': [
+ // name: 'Ubuntu 18.04',
+ // spidermonkey_vsn: '1.8.5',
+ // image: "apache/couchdbci-ubuntu:bionic-erlang-${ERLANG_VERSION}"
+ // ],
+
+ // 'focal': [
+ // name: 'Ubuntu 20.04',
+ // spidermonkey_vsn: '68',
+ // image: "apache/couchdbci-ubuntu:focal-erlang-${ERLANG_VERSION}"
+ // ],
+
+ // 'stretch': [
+ // name: 'Debian 9',
+ // spidermonkey_vsn: '1.8.5',
+ // image: "apache/couchdbci-debian:stretch-erlang-${ERLANG_VERSION}"
+ // ],
+
+ // 'buster': [
+ // name: 'Debian 10',
+ // spidermonkey_vsn: '60',
+ // image: "apache/couchdbci-debian:buster-erlang-${ERLANG_VERSION}"
+ // ],
+
+ // 'bullseye': [
+ // name: 'Debian 11',
+ // spidermonkey_vsn: '78',
+ // image: "apache/couchdbci-debian:bullseye-erlang-${ERLANG_VERSION}"
+ // ],
'freebsd': [
name: 'FreeBSD',
@@ -114,47 +114,46 @@ gnu_make = ['freebsd': 'gmake', 'macos': 'make']
def generateNativeStage(platform) {
return {
stage(meta[platform].name) {
- agent {
- label platform
- }
-
- options {
- skipDefaultCheckout()
- timeout(time: 90, unit: "MINUTES")
- }
+ // options {
+ // skipDefaultCheckout()
+ // }
- steps {
- // deleteDir is OK here because we're not inside of a Docker container!
- deleteDir()
- unstash 'tarball'
- withEnv(['HOME='+pwd(), 'PATH+USRLOCAL=/usr/local/bin', 'MAKE='+meta[platform].gnu_make]) {
- sh( script: unpack, label: 'Unpack tarball' )
- dir( "${platform}/build/couchdb" ) {
- sh 'pwd'
- sh 'ls -l'
- sh "./configure --skip-deps --spidermonkey-version ${meta[platform].spidermonkey_vsn}"
- sh '$MAKE'
- sh '$MAKE eunit'
- sh '$MAKE elixir-suite'
- sh '$MAKE exunit'
- sh '$MAKE mango-test'
+ node(platform) {
+ timeout(time: 90, unit: "MINUTES") {
+ steps {
+ // deleteDir is OK here because we're not inside of a Docker container!
+ deleteDir()
+ unstash 'tarball'
+ withEnv(['HOME='+pwd(), 'PATH+USRLOCAL=/usr/local/bin', 'MAKE='+meta[platform].gnu_make]) {
+ sh( script: unpack, label: 'Unpack tarball' )
+ dir( "${platform}/build/couchdb" ) {
+ sh 'pwd'
+ sh 'ls -l'
+ sh "./configure --skip-deps --spidermonkey-version ${meta[platform].spidermonkey_vsn}"
+ sh '$MAKE'
+ sh '$MAKE eunit'
+ sh '$MAKE elixir-suite'
+ sh '$MAKE exunit'
+ sh '$MAKE mango-test'
+ }
+ }
}
- }
- }
- post {
- always {
- junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml, **/src/mango/nosetests.xml, **/test/javascript/junit.xml'
- }
- failure {
- dir( "${platform}/build/couchdb" ) {
- sh 'make build-report'
+ post {
+ always {
+ junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml, **/src/mango/nosetests.xml, **/test/javascript/junit.xml'
+ }
+ failure {
+ dir( "${platform}/build/couchdb" ) {
+ sh 'make build-report'
+ }
+ }
+ cleanup {
+ sh 'killall -9 beam.smp || true'
+ sh 'rm -rf ${WORKSPACE}/* ${COUCHDB_IO_LOG_DIR} || true'
+ }
}
}
- cleanup {
- sh 'killall -9 beam.smp || true'
- sh 'rm -rf ${WORKSPACE}/* ${COUCHDB_IO_LOG_DIR} || true'
- }
}
}
}