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 2019/07/30 01:55:14 UTC
[couchdb] branch junit-reports-and-jenkins-env created (now d50c8ab)
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a change to branch junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at d50c8ab Publish ExUnit test results up to Jenkins ExUnit
This branch includes the following new commits:
new c17cc94 Set MIX_HOME on ARM builds
new bce143c Restore JUnitFormatter
new d50c8ab Publish ExUnit test results up to Jenkins ExUnit
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb] 03/03: Publish ExUnit test results up to Jenkins ExUnit
Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit d50c8abc19ec6660562193e0f188b973d8cee33c
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Mon Jul 29 20:03:22 2019 -0400
Publish ExUnit test results up to Jenkins ExUnit
Also, fix a couple of copypasta errors on the platform label.
---
Jenkinsfile | 36 +++++++++++++++++++++++++++++++++---
1 file changed, 33 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 6d1104b..83b99c4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -42,6 +42,8 @@ rm -rf ${WORKSPACE}/pkgs/${platform}
mkdir -p ${WORKSPACE}/pkgs/${platform}
mv ../rpmbuild/RPMS/$(arch)/*rpm ${WORKSPACE}/pkgs/${platform} || true
mv ../couchdb/*.deb ${WORKSPACE}/pkgs/${platform} || true
+mkdir -p ${WORKSPACE}/test-results/${platform}-${arch}
+mv ../couchdb/_build/*/lib/couchdbtest/*.xml ${WORKSPACE}/test-results/${platform}-${arch}/
rm -rf ${builddir} ${COUCHDB_IO_LOG_DIR}
'''
@@ -145,11 +147,18 @@ pipeline {
./configure --with-curl
gmake check || (build-aux/logfile-uploader.py && false)
+ mkdir -p ${WORKSPACE}/test-results/freebsd
+ mv ../couchdb/_build/*/lib/couchdbtest/*.xml ${WORKSPACE}/test-results/freebsd/
# No package build for FreeBSD at this time
rm -rf $builddir $COUCHDB_IO_LOG_DIR
'''
} // withEnv
} // steps
+ post {
+ always {
+ junit '${WORKSPACE}/test-results/freebsd/*.xml'
+ }
+ } // post
} // stage FreeBSD
stage('CentOS 6') {
@@ -173,6 +182,9 @@ pipeline {
sh( script: build_script )
} // steps
post {
+ always {
+ junit '${WORKSPACE}/test-results/${platform}-${arch}/*.xml'
+ }
success {
archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
}
@@ -200,6 +212,9 @@ pipeline {
sh( script: build_script )
} // steps
post {
+ always {
+ junit '${WORKSPACE}/test-results/${platform}-${arch}/*.xml'
+ }
success {
archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
}
@@ -227,6 +242,9 @@ pipeline {
sh( script: build_script )
} // steps
post {
+ always {
+ junit '${WORKSPACE}/test-results/${platform}-${arch}/*.xml'
+ }
success {
archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
}
@@ -246,7 +264,7 @@ pipeline {
timeout(time: 90, unit: "MINUTES")
}
environment {
- platform = 'xenial'
+ platform = 'bionic'
}
steps {
sh 'rm -f apache-couchdb-*.tar.gz'
@@ -254,6 +272,9 @@ pipeline {
sh( script: build_script )
} // steps
post {
+ always {
+ junit '${WORKSPACE}/test-results/${platform}-${arch}/*.xml'
+ }
success {
archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
}
@@ -281,6 +302,9 @@ pipeline {
sh( script: build_script )
} // steps
post {
+ always {
+ junit '${WORKSPACE}/test-results/${platform}-${arch}/*.xml'
+ }
success {
archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
}
@@ -300,7 +324,7 @@ pipeline {
timeout(time: 90, unit: "MINUTES")
}
environment {
- platform = 'jessie'
+ platform = 'stretch'
}
steps {
sh 'rm -f apache-couchdb-*.tar.gz'
@@ -308,6 +332,9 @@ pipeline {
sh( script: build_script )
} // steps
post {
+ always {
+ junit '${WORKSPACE}/test-results/${platform}-${arch}/*.xml'
+ }
success {
archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
}
@@ -327,7 +354,7 @@ pipeline {
timeout(time: 90, unit: "MINUTES")
}
environment {
- platform = 'jessie'
+ platform = 'stretch'
}
steps {
sh 'rm -f apache-couchdb-*.tar.gz'
@@ -337,6 +364,9 @@ pipeline {
}
} // steps
post {
+ always {
+ junit '${WORKSPACE}/test-results/${platform}-${arch}/*.xml'
+ }
success {
archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
}
[couchdb] 02/03: Restore JUnitFormatter
Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit bce143c244314dfb073301d89443550ba1861d8c
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Mon Jul 29 21:49:10 2019 -0400
Restore JUnitFormatter
PR #2039 dropped this as a dependency, likely by accident.
---
mix.exs | 1 +
1 file changed, 1 insertion(+)
diff --git a/mix.exs b/mix.exs
index 2e213ae..43c8b6d 100644
--- a/mix.exs
+++ b/mix.exs
@@ -35,6 +35,7 @@ defmodule CouchDBTest.Mixfile do
# Run "mix help deps" to learn about dependencies.
defp deps() do
[
+ {:junit_formatter, "~> 3.0", only: [:dev, :test, :integration]},
{:httpotion, "~> 3.0", only: [:dev, :test, :integration], runtime: false},
{:jiffy, path: Path.expand("src/jiffy", __DIR__)},
{:ibrowse,
[couchdb] 01/03: Set MIX_HOME on ARM builds
Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit c17cc941cf2e2c72597f24804363ccc6e3b47b5a
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Mon Jul 29 19:15:08 2019 -0400
Set MIX_HOME on ARM builds
We encountered a weird failure only on ARM where Mix was trying to
write to /.mix. This is one attempt to fix that.
---
Jenkinsfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index c575748..6d1104b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -332,7 +332,9 @@ pipeline {
steps {
sh 'rm -f apache-couchdb-*.tar.gz'
unstash 'tarball'
- sh( script: build_script )
+ withEnv(['MIX_HOME='+pwd()]) {
+ sh( script: build_script )
+ }
} // steps
post {
success {