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 07:21:20 UTC
(couchdb) branch main updated: Add retries to the PR CI runs as well
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/main by this push:
new 1ce7a0447 Add retries to the PR CI runs as well
1ce7a0447 is described below
commit 1ce7a0447ea75242c793b851485041b32bde7282
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..78427e84d 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 'cd ${ERLANG_VERSION}/build/apache-couchdb-* && make check || (make build-report && false)'}
}
post {
always {