You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2025/01/09 01:24:07 UTC

(couchdb) branch retry-flaky-test-in-pr-ci created (now d549851d5)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch retry-flaky-test-in-pr-ci
in repository https://gitbox.apache.org/repos/asf/couchdb.git


      at d549851d5 Add retries to the PR CI runs as well

This branch includes the following new commits:

     new d549851d5 Add retries to the PR CI runs as well

The 1 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) 01/01: Add retries to the PR CI runs as well

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch retry-flaky-test-in-pr-ci
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit d549851d5ff0fa2ddee5ca1d65a2c6b887018b30
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Wed Jan 8 20:23:26 2025 -0500

    Add retries to the PR CI runs as well
---
 build-aux/Jenkinsfile.pr | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/build-aux/Jenkinsfile.pr b/build-aux/Jenkinsfile.pr
index dcba96a72..3c5d5f174 100644
--- a/build-aux/Jenkinsfile.pr
+++ b/build-aux/Jenkinsfile.pr
@@ -12,7 +12,8 @@
 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 // License for the specific language governing permissions and limitations under
 // the License.
-build_and_test = '''
+
+build = '''
 mkdir -p ${ERLANG_VERSION}
 cd ${ERLANG_VERSION}
 rm -rf build
@@ -21,7 +22,6 @@ cd build
 tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz
 cd apache-couchdb-*
 ./configure --with-nouveau --with-clouseau --js-engine=${JS_ENGINE}
-make check || (make build-report && false)
 '''
 
 docs_changed = "git diff --name-only origin/${env.CHANGE_TARGET} | grep -q '^src/docs/'"
@@ -274,7 +274,8 @@ pipeline {
             }
             steps {
               unstash 'tarball'
-              sh( script: build_and_test )
+              sh( script: build )
+              retry(3) {sh 'make check'}
             }
             post {
               always {