Add Jenkins
Some checks reported errors
Minetest-For-PinePhone/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
Minetest-For-PinePhone/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
aa7de20af5
commit
d268c1eec0
3
Dockerfile.build
Normal file
3
Dockerfile.build
Normal file
@ -0,0 +1,3 @@
|
||||
FROM ubuntu:focal
|
||||
|
||||
RUN apt-get update && apt-get install -y docker.io
|
20
Jenkinsfile
vendored
Normal file
20
Jenkinsfile
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
pipeline {
|
||||
agent {
|
||||
dockerfile {
|
||||
filename 'Dockerfile.build'
|
||||
args '-v /var/run/docker.sock:/var/run/docker.sock'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'DOCKER_BUILD_OPTIONS="--no-cache" ./run.sh'
|
||||
}
|
||||
post {
|
||||
success {
|
||||
archiveArtifacts artifacts: 'out/**', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user