mirror of
https://github.com/lxsang/antd-tunnel-publishers
synced 2024-11-15 01:28:20 +01:00
Update Jenkinsfile
All checks were successful
gitea-sync/antd-tunnel-publishers/pipeline/head This commit looks good
All checks were successful
gitea-sync/antd-tunnel-publishers/pipeline/head This commit looks good
This commit is contained in:
parent
c5be7c3f4e
commit
439ed880a2
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -9,7 +9,7 @@ def build_plugin()
|
|||||||
aclocal
|
aclocal
|
||||||
autoconf
|
autoconf
|
||||||
automake --add-missing
|
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" ./configure --prefix=/opt/www
|
||||||
CFLAGS="-I$search_path/include" LDFLAGS="-L$search_path/lib" make
|
CFLAGS="-I$search_path/include" LDFLAGS="-L$search_path/lib" make
|
||||||
DESTDIR=$WORKSPACE/build/$arch make install
|
DESTDIR=$WORKSPACE/build/$arch make install
|
||||||
@ -36,11 +36,16 @@ pipeline{
|
|||||||
}
|
}
|
||||||
stages
|
stages
|
||||||
{
|
{
|
||||||
|
stage('Prepare dependencies')
|
||||||
|
{
|
||||||
|
steps {
|
||||||
|
copyArtifacts(projectName: 'gitea-sync/ant-http/master', target: 'antd');
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Build AMD64') {
|
stage('Build AMD64') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'xsangle/ci-tools:bionic-amd64'
|
image 'xsangle/ci-tools:bionic-amd64'
|
||||||
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
|
|
||||||
// Run the container on the node specified at the
|
// Run the container on the node specified at the
|
||||||
// top-level of the Pipeline, in the same workspace,
|
// top-level of the Pipeline, in the same workspace,
|
||||||
// rather than on a new node entirely:
|
// rather than on a new node entirely:
|
||||||
@ -59,7 +64,6 @@ pipeline{
|
|||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'xsangle/ci-tools:bionic-arm64'
|
image 'xsangle/ci-tools:bionic-arm64'
|
||||||
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
|
|
||||||
// Run the container on the node specified at the
|
// Run the container on the node specified at the
|
||||||
// top-level of the Pipeline, in the same workspace,
|
// top-level of the Pipeline, in the same workspace,
|
||||||
// rather than on a new node entirely:
|
// rather than on a new node entirely:
|
||||||
@ -78,7 +82,6 @@ pipeline{
|
|||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'xsangle/ci-tools:bionic-arm'
|
image 'xsangle/ci-tools:bionic-arm'
|
||||||
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
|
|
||||||
// Run the container on the node specified at the
|
// Run the container on the node specified at the
|
||||||
// top-level of the Pipeline, in the same workspace,
|
// top-level of the Pipeline, in the same workspace,
|
||||||
// rather than on a new node entirely:
|
// rather than on a new node entirely:
|
||||||
|
Loading…
Reference in New Issue
Block a user