Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
pipeline {
agent { label 'PACKAGES_x86_64_linux_redhat_7' }
environment {
REPOS = "core"
}
stages {
stage('Clean workspace') {
steps {
sh 'for r in $REPOS; do rm -rf "$(basename "$r")"; done'
}
} // clean workspace
stage('submodules') {
steps { sh "git submodule init && git submodule update" }
}
stage('dependencies') { steps { sh "ci/dependencies.sh" } }
stage('autoconf') {
steps {
sh "./autogen.sh --enable-debug"
} // autoconf steps
} // autoconf stage
} // stages
} // pipeline
5 changes: 3 additions & 2 deletions ci/dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ if [ -f /etc/os-release ]; then
build_librsync
fi
else
echo "Unsupported version of redhat for $0"
exit 1
sudo yum install epel-release -y
sudo yum update -y
sudo yum install -y gcc gdb make git libtool autoconf automake byacc flex openssl-devel pcre2-devel lmdb-devel pam-devel flex-devel libyaml-devel fakeroot libxml2-devel librsync-devel
fi
elif [ "$ID" = "alpine" ]; then
$GAINROOT apk update
Expand Down
1 change: 1 addition & 0 deletions tests/unit/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ nfs_test_SOURCES = nfs_test.c
nfs_test_LDADD = ../../libpromises/libpromises.la libtest.la

init_script_test_helper_SOURCES = init_script_test_helper.c
check_PROGRAMS += init_script_test_helper
init_script_test.sh: init_script_test_helper
CLEANFILES += init_script_test_helper
endif
Expand Down
Loading