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

This commit is contained in:
Dany LE 2023-07-22 23:23:19 +02:00 committed by GitHub
parent 3d34ff0693
commit 209e85f5e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
Jenkinsfile vendored
View File

@ -9,7 +9,10 @@ def build_plugin()
aclocal
autoconf
automake --add-missing
search_path=$(realpath antd/build/$arch/usr)
path="antd/build/$arch/usr"
search_path=$(realpath "$path")
echo "PATH: $path"
echo "REAL PATH: $search_path"
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