You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2022/03/22 19:26:44 UTC

[trafficserver-ci] branch main updated: Specifying SHELL for fedora:35 autoreconf (#87)

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

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 6bd800d  Specifying SHELL for fedora:35 autoreconf (#87)
6bd800d is described below

commit 6bd800dbc11645a0e7e19c6f2d4a0983d437b7e2
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Tue Mar 22 14:26:39 2022 -0500

    Specifying SHELL for fedora:35 autoreconf (#87)
    
    autoreconf fails in CI sometimes. This seems to be due to SHELL issues.
    Trying to address this by explicitly setting /bin/bash as the shell.
---
 jenkins/fedora.pipeline        | 2 +-
 jenkins/github/fedora.pipeline | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/jenkins/fedora.pipeline b/jenkins/fedora.pipeline
index dc77e00..d206f6a 100644
--- a/jenkins/fedora.pipeline
+++ b/jenkins/fedora.pipeline
@@ -21,7 +21,7 @@ pipeline {
                 echo 'Starting build'
                 dir('src') {
                     sh('ls')
-                    sh('autoreconf -fiv')
+                    sh('SHELL=/bin/bash autoreconf -fiv')
                     sh('./configure --enable-experimental-plugins')
                     sh('make -j2')
                 }
diff --git a/jenkins/github/fedora.pipeline b/jenkins/github/fedora.pipeline
index 9e505ed..5c26d50 100644
--- a/jenkins/github/fedora.pipeline
+++ b/jenkins/github/fedora.pipeline
@@ -46,11 +46,11 @@ pipeline {
                 dir('src') {
                     // For Jenkins debugging. We comit to the top of README in our debug PRs.
                     sh('head README')
-                    
+
                     sh '''#!/bin/bash
                         set -x
                         set -e
-                        autoreconf -fiv
+                        SHELL=/bin/bash autoreconf -fiv
                         # Remove the --with-openssl argument when we support OpenSSL 3.x.
                         ./configure --with-openssl=/opt/openssl-quic --enable-experimental-plugins --enable-example-plugins --prefix=/tmp/ats/ --enable-werror --enable-debug --enable-wccp --enable-luajit --enable-ccache
                         make -j4 V=1 Q=