mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Jenkinsfile : regenerated with zproject support for logging test-suite results
This commit is contained in:
parent
7186cd515d
commit
aec6ea78c5
54
Jenkinsfile
vendored
54
Jenkinsfile
vendored
@ -184,7 +184,16 @@ pipeline {
|
||||
unstash 'built-draft'
|
||||
retry(3) {
|
||||
timeout (time: "${params.USE_TEST_TIMEOUT}".toInteger(), unit: 'MINUTES') {
|
||||
script {
|
||||
try {
|
||||
sh 'CCACHE_BASEDIR="`pwd`" ; export CCACHE_BASEDIR; LD_LIBRARY_PATH="`pwd`/src/.libs:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH; make LD_LIBRARY_PATH="$LD_LIBRARY_PATH" check'
|
||||
}
|
||||
catch (Exception e) {
|
||||
dir("..") {
|
||||
archiveArtifacts artifacts: "**/test-suite.log", allowEmpty: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sh 'echo "Are GitIgnores good after make check with drafts? (should have no output below)"; git status -s || if [ "${params.REQUIRE_GOOD_GITIGNORE}" = false ]; then echo "WARNING GitIgnore tests found newly changed or untracked files" >&2 ; exit 0 ; else echo "FAILED GitIgnore tests" >&2 ; exit 1; fi'
|
||||
@ -204,7 +213,16 @@ pipeline {
|
||||
unstash 'built-nondraft'
|
||||
retry(3) {
|
||||
timeout (time: "${params.USE_TEST_TIMEOUT}".toInteger(), unit: 'MINUTES') {
|
||||
script {
|
||||
try {
|
||||
sh 'CCACHE_BASEDIR="`pwd`" ; export CCACHE_BASEDIR; LD_LIBRARY_PATH="`pwd`/src/.libs:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH; make LD_LIBRARY_PATH="$LD_LIBRARY_PATH" check'
|
||||
}
|
||||
catch (Exception e) {
|
||||
dir("..") {
|
||||
archiveArtifacts artifacts: "**/test-suite.log", allowEmpty: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sh 'echo "Are GitIgnores good after make check without drafts? (should have no output below)"; git status -s || if [ "${params.REQUIRE_GOOD_GITIGNORE}" = false ]; then echo "WARNING GitIgnore tests found newly changed or untracked files" >&2 ; exit 0 ; else echo "FAILED GitIgnore tests" >&2 ; exit 1; fi'
|
||||
@ -224,7 +242,16 @@ pipeline {
|
||||
unstash 'built-draft'
|
||||
retry(3) {
|
||||
timeout (time: "${params.USE_TEST_TIMEOUT}".toInteger(), unit: 'MINUTES') {
|
||||
script {
|
||||
try {
|
||||
sh 'CCACHE_BASEDIR="`pwd`" ; export CCACHE_BASEDIR; LD_LIBRARY_PATH="`pwd`/src/.libs:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH; make LD_LIBRARY_PATH="$LD_LIBRARY_PATH" memcheck && exit 0 ; echo "Re-running failed ($?) memcheck with greater verbosity" >&2 ; make LD_LIBRARY_PATH="$LD_LIBRARY_PATH" VERBOSE=1 memcheck-verbose'
|
||||
}
|
||||
catch (Exception e) {
|
||||
dir("..") {
|
||||
archiveArtifacts artifacts: "**/test-suite.log", allowEmpty: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sh 'echo "Are GitIgnores good after make memcheck with drafts? (should have no output below)"; git status -s || if [ "${params.REQUIRE_GOOD_GITIGNORE}" = false ]; then echo "WARNING GitIgnore tests found newly changed or untracked files" >&2 ; exit 0 ; else echo "FAILED GitIgnore tests" >&2 ; exit 1; fi'
|
||||
@ -244,7 +271,16 @@ pipeline {
|
||||
unstash 'built-nondraft'
|
||||
retry(3) {
|
||||
timeout (time: "${params.USE_TEST_TIMEOUT}".toInteger(), unit: 'MINUTES') {
|
||||
script {
|
||||
try {
|
||||
sh 'CCACHE_BASEDIR="`pwd`" ; export CCACHE_BASEDIR; LD_LIBRARY_PATH="`pwd`/src/.libs:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH; make LD_LIBRARY_PATH="$LD_LIBRARY_PATH" memcheck && exit 0 ; echo "Re-running failed ($?) memcheck with greater verbosity" >&2 ; make LD_LIBRARY_PATH="$LD_LIBRARY_PATH" VERBOSE=1 memcheck-verbose'
|
||||
}
|
||||
catch (Exception e) {
|
||||
dir("..") {
|
||||
archiveArtifacts artifacts: "**/test-suite.log", allowEmpty: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sh 'echo "Are GitIgnores good after make memcheck without drafts? (should have no output below)"; git status -s || if [ "${params.REQUIRE_GOOD_GITIGNORE}" = false ]; then echo "WARNING GitIgnore tests found newly changed or untracked files" >&2 ; exit 0 ; else echo "FAILED GitIgnore tests" >&2 ; exit 1; fi'
|
||||
@ -264,7 +300,16 @@ pipeline {
|
||||
unstash 'built-draft'
|
||||
retry(3) {
|
||||
timeout (time: "${params.USE_TEST_TIMEOUT}".toInteger(), unit: 'MINUTES') {
|
||||
script {
|
||||
try {
|
||||
sh 'CCACHE_BASEDIR="`pwd`" ; export CCACHE_BASEDIR; LD_LIBRARY_PATH="`pwd`/src/.libs:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH; DISTCHECK_CONFIGURE_FLAGS="--enable-drafts=yes --with-docs=no" ; export DISTCHECK_CONFIGURE_FLAGS; make DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS" LD_LIBRARY_PATH="$LD_LIBRARY_PATH" distcheck'
|
||||
}
|
||||
catch (Exception e) {
|
||||
dir("..") {
|
||||
archiveArtifacts artifacts: "**/test-suite.log", allowEmpty: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sh 'echo "Are GitIgnores good after make distcheck with drafts? (should have no output below)"; git status -s || if [ "${params.REQUIRE_GOOD_GITIGNORE}" = false ]; then echo "WARNING GitIgnore tests found newly changed or untracked files" >&2 ; exit 0 ; else echo "FAILED GitIgnore tests" >&2 ; exit 1; fi'
|
||||
@ -284,7 +329,16 @@ pipeline {
|
||||
unstash 'built-nondraft'
|
||||
retry(3) {
|
||||
timeout (time: "${params.USE_TEST_TIMEOUT}".toInteger(), unit: 'MINUTES') {
|
||||
script {
|
||||
try {
|
||||
sh 'CCACHE_BASEDIR="`pwd`" ; export CCACHE_BASEDIR; LD_LIBRARY_PATH="`pwd`/src/.libs:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH; DISTCHECK_CONFIGURE_FLAGS="--enable-drafts=no --with-docs=no" ; export DISTCHECK_CONFIGURE_FLAGS; make DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS" LD_LIBRARY_PATH="$LD_LIBRARY_PATH" distcheck'
|
||||
}
|
||||
catch (Exception e) {
|
||||
dir("..") {
|
||||
archiveArtifacts artifacts: "**/test-suite.log", allowEmpty: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sh 'echo "Are GitIgnores good after make distcheck without drafts? (should have no output below)"; git status -s || if [ "${params.REQUIRE_GOOD_GITIGNORE}" = false ]; then echo "WARNING GitIgnore tests found newly changed or untracked files" >&2 ; exit 0 ; else echo "FAILED GitIgnore tests" >&2 ; exit 1; fi'
|
||||
|
Loading…
Reference in New Issue
Block a user