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/16 00:21:26 UTC
[couchdb] 02/02: Debug cwd issues
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch jenkins-bump-erlang-and-debian-versions
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit c7d4c2534d939cafd0b156ecd4ebbb13371df5bb
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Sat Jan 15 19:20:16 2022 -0500
Debug cwd issues
---
build-aux/Jenkinsfile.full | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 323beaa..98d2098 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -13,15 +13,15 @@
// License for the specific language governing permissions and limitations under
// the License.
-configure = '''
+unpack = '''
+ls -l
mkdir -p ${COUCHDB_IO_LOG_DIR} ${platform}
cd ${platform}
+ls -l
rm -rf build
mkdir build
-cd build
-tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz
-cd apache-couchdb-*
-./configure --spidermonkey-version ${sm_ver}
+tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz -C build
+mv build/apache-couchdb-* build/couchdb
'''
make_packages = '''
@@ -265,7 +265,9 @@ pipeline {
stage('Build from tarball & test') {
steps {
unstash 'tarball'
- sh( script: configure, label: 'unpack tarball and configure' )
+ sh( script: unpack, label: 'Unpack tarball' )
+ dir( "${platform}/build/couchdb" )
+ sh "./configure --spidermonkey-version ${sm_ver}"
sh 'make'
sh 'make eunit'
sh 'make elixir-suite'