Jenkinsfile: use download cache if available

This commit is contained in:
Martin Weinelt 2019-06-28 02:08:35 +02:00
parent 63b02eaca3
commit 94be22c0c4

View File

@ -19,7 +19,7 @@ pipeline {
stage('build') {
steps {
sh 'make update'
sh 'make download'
sh 'test -d /dl_cache && ln -s /dl_cache openwrt/dl || true'
sh 'make -j$(nproc)'
}
}