Fix Jenkins + Improve Build
Some checks failed
Minetest-For-Mobile/pipeline/head There was a failure building this commit
Some checks failed
Minetest-For-Mobile/pipeline/head There was a failure building this commit
This commit is contained in:
parent
72f4fa8abb
commit
65d69fb413
@ -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
7
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
cd /app
|
||||
|
||||
git clone https://github.com/TheBrokenRail/minetest.git -b desktop-touch
|
||||
cd minetest
|
||||
|
Loading…
Reference in New Issue
Block a user