mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 18:16:03 +01:00
[jenkins] more explicit node allocation
This commit is contained in:
parent
8cc1949be0
commit
1a63d0854c
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -29,7 +29,7 @@ def dockerPlatforms = ["ubuntu-clang", "ubuntu-gcc", "sanitize"]
|
||||
/* .each is currently broken in jenkins */
|
||||
for (int i = 0; i < dockerPlatforms.size(); i++) {
|
||||
def platform = dockerPlatforms[i]
|
||||
platforms[platform] = { -> node('docker') {
|
||||
platforms[platform] = { -> node('linux && docker && triqs') {
|
||||
stage(platform) { timeout(time: 1, unit: 'HOURS') { ansiColor('xterm') {
|
||||
checkout scm
|
||||
/* construct a Dockerfile for this base */
|
||||
@ -110,7 +110,7 @@ for (int i = 0; i < osxPlatforms.size(); i++) {
|
||||
def error = null
|
||||
try {
|
||||
parallel platforms
|
||||
if (keepInstall) { node("docker") {
|
||||
if (keepInstall) { node('linux && docker && triqs') {
|
||||
/* Publish results */
|
||||
stage("publish") { timeout(time: 5, unit: 'MINUTES') {
|
||||
def commit = sh(returnStdout: true, script: "git rev-parse HEAD").trim()
|
||||
|
Loading…
Reference in New Issue
Block a user