Browse Source

Try to install build dependencies

master
Johann Schmitz 1 year ago
parent
commit
3ccfbbc9d6
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      Jenkinsfile

+ 7
- 1
Jenkinsfile View File

@@ -14,7 +14,13 @@ node('docker') {

stage('Debian packaging') {
docker.withRegistry('https://r.ercpe.de', 'docker-registry') {
docker.image('r.ercpe.de/ercpe/ubuntu-build:latest').inside {
def build = docker.image('r.ercpe.de/ercpe/ubuntu-build:latest');

// https://github.com/jenkinsci/docker-workflow-plugin/pull/57
build.inside('--user root:root') {
sh "apt update && apt install -y dh-python python3-all python3-setuptools"
}
build.inside {
sh "make deb"
}
}

Loading…
Cancel
Save