Update Jenkinsfile
Some checks failed
gitea-sync/antd-wvnc-plugin/pipeline/head There was a failure building this commit

This commit is contained in:
Dany LE 2022-10-03 10:09:45 +02:00 committed by GitHub
parent 86d528fa47
commit 0fb3d27ada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

11
Jenkinsfile vendored
View File

@ -9,7 +9,7 @@ def build_plugin()
aclocal
autoconf
automake --add-missing
search_path=$(realpath $WORKSPACE/../ant-http/build/$arch/usr)
search_path=$(realpath antd/build/$arch/usr)
CFLAGS="-I$search_path/include" LDFLAGS="-L$search_path/lib" ./configure --prefix=/opt/www
CFLAGS="-I$search_path/include" LDFLAGS="-L$search_path/lib" make
DESTDIR=$WORKSPACE/build/$arch make install
@ -31,11 +31,16 @@ pipeline{
}
stages
{
stage('Prepare dependencies')
{
steps {
copyArtifacts(projectName: 'gitea-sync/ant-http/master', target: 'antd');
}
}
stage('Build AMD64') {
agent {
docker {
image 'xsangle/ci-tools:bionic-amd64'
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
reuseNode true
}
}
@ -50,7 +55,6 @@ pipeline{
agent {
docker {
image 'xsangle/ci-tools:bionic-arm64'
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
reuseNode true
}
}
@ -65,7 +69,6 @@ pipeline{
agent {
docker {
image 'xsangle/ci-tools:bionic-arm'
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
reuseNode true
}
}