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/18 21:27:47 UTC

[couchdb] 01/01: Start per-stage timer _after_ agent is acquired

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

kocolosk pushed a commit to branch jenkins-dynamic-matrix-throwaway
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 356edcd25a870243281966524b26fc14267db8f2
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Jan 18 16:23:09 2022 -0500

    Start per-stage timer _after_ agent is acquired
---
 build-aux/Jenkinsfile.full | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 7d089f8..328812c 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -275,16 +275,14 @@ pipeline {
         // TODO find a way to avoid setting this explicitly
         spidermonkey = '78'
       }
-      options {
-        // TODO start this timeout _after_ the agent has been acquired if possible
-        timeout(time: 15, unit: "MINUTES")
-      }
       steps {
-        sh (script: 'rm -rf apache-couchdb-*', label: 'Clean workspace of any previous release artifacts' )
-        sh "./configure --spidermonkey-version ${spidermonkey}"
-        sh 'make erlfmt-check'
-        sh 'make elixir-check-formatted'
-        sh 'make dist'
+        timeout(time: 15, unit: "MINUTES") {
+          sh (script: 'rm -rf apache-couchdb-*', label: 'Clean workspace of any previous release artifacts' )
+          sh "./configure --spidermonkey-version ${spidermonkey}"
+          sh 'make erlfmt-check'
+          sh 'make elixir-check-formatted'
+          sh 'make dist'
+        }
       }
       post {
         success {