Minetest-For-Mobile/Jenkinsfile

23 lines
490 B
Plaintext
Raw Permalink Normal View History

2020-12-21 16:53:31 +00:00
pipeline {
agent {
dockerfile {
2020-12-21 19:32:06 +00:00
filename 'Dockerfile'
2020-12-21 16:53:31 +00:00
}
}
stages {
stage('Build') {
steps {
2020-12-21 19:54:48 +00:00
// Build
2020-12-21 20:11:17 +00:00
sh 'cd /app; ./build.sh'
2020-12-21 19:54:48 +00:00
// Copy Artifacts
2020-12-21 19:50:41 +00:00
sh 'mkdir out; cp /out/*.deb out'
2020-12-21 16:53:31 +00:00
}
post {
success {
2020-12-21 19:50:41 +00:00
archiveArtifacts artifacts: 'out/*.deb', fingerprint: true
2020-12-21 16:53:31 +00:00
}
}
}
}
}