Fix Jenkins
Some checks failed
Minetest-For-Mobile/pipeline/head There was a failure building this commit

This commit is contained in:
TheBrokenRail 2020-12-21 14:32:06 -05:00
parent 94d0078b2d
commit 72f4fa8abb
2 changed files with 3 additions and 7 deletions

View File

@ -1,3 +0,0 @@
FROM ubuntu:focal
RUN apt-get update && apt-get install -y docker.io

7
Jenkinsfile vendored
View File

@ -1,18 +1,17 @@
pipeline { pipeline {
agent { agent {
dockerfile { dockerfile {
filename 'Dockerfile.build' filename 'Dockerfile'
args '-v /var/run/docker.sock:/var/run/docker.sock'
} }
} }
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
sh 'DOCKER_BUILD_OPTIONS="--no-cache" ./run.sh' sh './build-minetest.sh'
} }
post { post {
success { success {
archiveArtifacts artifacts: 'out/*.deb', fingerprint: true archiveArtifacts artifacts: '/out/*.deb', fingerprint: true
} }
} }
} }