mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-28 18:53:22 +02:00
misc: fix jenkinsfile
Change-Id: I043de5cdff377624382cfa4775e56d387fabc962
This commit is contained in:
parent
da61006eb9
commit
6c70897ed9
1 changed files with 6 additions and 3 deletions
9
extras/ci/client-qt-gnulinux/Jenkinsfile
vendored
9
extras/ci/client-qt-gnulinux/Jenkinsfile
vendored
|
@ -22,7 +22,11 @@
|
|||
// - ansicolor plugin
|
||||
|
||||
pipeline {
|
||||
agent 'jami-buildmachine-04.mtl.sfl'
|
||||
agent {
|
||||
node {
|
||||
label 'jami-buildmachine-04.mtl.sfl'
|
||||
}
|
||||
}
|
||||
|
||||
triggers {
|
||||
gerrit customUrl: '',
|
||||
|
@ -47,8 +51,6 @@ pipeline {
|
|||
description: 'The Gerrit refspec to fetch.')
|
||||
}
|
||||
|
||||
def cpuCount = sh returnStdout: true, script: 'nproc || echo -n 4'
|
||||
|
||||
stage('SCM Checkout') {
|
||||
deleteDir()
|
||||
// Checkout jami-project to obtain daemon/LRC/client-qt repositories
|
||||
|
@ -77,6 +79,7 @@ pipeline {
|
|||
def jenkinsUID = sh(returnStdout: true, script: 'id -u jenkins').replaceAll("\n", '').trim()
|
||||
def jenkinsGID = sh(returnStdout: true, script: 'id -g jenkins').replaceAll("\n", '').trim()
|
||||
def jenkinsUser = jenkinsUID+':'+jenkinsGID
|
||||
def cpuCount = sh returnStdout: true, script: 'nproc || echo -n 4'
|
||||
|
||||
docker.image('client-validation').withRun('-t -u '+jenkinsUser+' -v '+pwd()+':/foo:rw -w /foo -e BATCH_MODE=1', '/bin/bash') {
|
||||
container -> code:{
|
||||
|
|
Loading…
Add table
Reference in a new issue