Fix Jenkins + Improve Build
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:50:41 -05:00
parent 72f4fa8abb
commit 65d69fb413
6 changed files with 11 additions and 6 deletions

View File

@ -5,11 +5,11 @@ ENV DEBIAN_FRONTEND noninteractive
RUN mkdir /app
WORKDIR /app
ADD ./install-dependencies.sh /app/
ADD build/install-dependencies.sh /app/
RUN ./install-dependencies.sh
ADD ./build-irrlicht.sh /app/
ADD build/build-irrlicht.sh /app/
RUN ./build-irrlicht.sh
ADD ./build-minetest.sh /app/
ADD ./DEBIAN /app/DEBIAN
ADD build/build-minetest.sh /app/
ADD build/DEBIAN /app/DEBIAN

7
Jenkinsfile vendored
View File

@ -7,11 +7,14 @@ pipeline {
stages {
stage('Build') {
steps {
sh './build-minetest.sh'
# Build
sh 'cd /app; ./build-minetest.sh'
# Copy Artifacts
sh 'mkdir out; cp /out/*.deb out'
}
post {
success {
archiveArtifacts artifacts: '/out/*.deb', fingerprint: true
archiveArtifacts artifacts: 'out/*.deb', fingerprint: true
}
}
}

View File

@ -2,6 +2,8 @@
set -e
cd /app
git clone https://github.com/TheBrokenRail/minetest.git -b desktop-touch
cd minetest