CI Jenkinsfile: use taps and fix fileformat

This commit is contained in:
Jan-Tarek Butt 2019-09-27 00:01:01 +02:00 committed by Matthias Schiffer
parent a2ced263ab
commit 6024c7a22f
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -1,27 +1,27 @@
pipeline { pipeline {
agent { label 'gluon-docker' } agent { label 'gluon-docker' }
environment { environment {
GLUON_SITEDIR = "contrib/ci/minimal-site" GLUON_SITEDIR = "contrib/ci/minimal-site"
GLUON_TARGET = "x86-64" GLUON_TARGET = "x86-64"
BUILD_LOG = "1" BUILD_LOG = "1"
} }
stages { stages {
stage('lint') { stage('lint') {
steps { steps {
sh 'luacheck package scripts targets' sh 'luacheck package scripts targets'
} }
} }
stage('docs') { stage('docs') {
steps { steps {
sh 'make -C docs html' sh 'make -C docs html'
} }
} }
stage('build') { stage('build') {
steps { steps {
sh 'make update' sh 'make update'
sh 'test -d /dl_cache && ln -s /dl_cache openwrt/dl || true' sh 'test -d /dl_cache && ln -s /dl_cache openwrt/dl || true'
sh 'make -j$(nproc) V=s' sh 'make -j$(nproc) V=s'
} }
} }
} }
} }