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

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 {
agent {
dockerfile {
filename 'Dockerfile.build'
args '-v /var/run/docker.sock:/var/run/docker.sock'
filename 'Dockerfile'
}
}
stages {
stage('Build') {
steps {
sh 'DOCKER_BUILD_OPTIONS="--no-cache" ./run.sh'
sh './build-minetest.sh'
}
post {
success {
archiveArtifacts artifacts: 'out/*.deb', fingerprint: true
archiveArtifacts artifacts: '/out/*.deb', fingerprint: true
}
}
}