3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-14 12:01:36 +02:00

Revert "[jenkins] try setting ansiColor as a build property"

This reverts commit 2a9b29741e.
This commit is contained in:
Dylan Simon 2021-02-17 15:48:52 -05:00
parent 2a9b29741e
commit ad0853b6bc

11
Jenkinsfile vendored
View File

@ -17,8 +17,7 @@ properties([
threshold: 'SUCCESS',
upstreamProjects: triqsProject
)
] : []),
ansiColor('xterm')
] : [])
])
/* map of all builds to run, populated below */
@ -31,7 +30,7 @@ def dockerPlatforms = ["ubuntu-clang", "ubuntu-gcc", "centos-gcc"]
for (int i = 0; i < dockerPlatforms.size(); i++) {
def platform = dockerPlatforms[i]
platforms[platform] = { -> node('docker') {
stage(platform) { timeout(time: 1, unit: 'HOURS') {
stage(platform) { timeout(time: 1, unit: 'HOURS') { ansiColor('xterm') {
checkout scm
/* construct a Dockerfile for this base */
sh """
@ -48,7 +47,7 @@ for (int i = 0; i < dockerPlatforms.size(); i++) {
if (!keepInstall) {
sh "docker rmi --no-prune ${img.imageName()}"
}
} }
} } }
} }
}
@ -61,7 +60,7 @@ for (int i = 0; i < osxPlatforms.size(); i++) {
def platformEnv = osxPlatforms[i]
def platform = platformEnv[0]
platforms["osx-$platform"] = { -> node('osx && triqs') {
stage("osx-$platform") { timeout(time: 1, unit: 'HOURS') {
stage("osx-$platform") { timeout(time: 1, unit: 'HOURS') { ansiColor('xterm') {
def srcDir = pwd()
def tmpDir = pwd(tmp:true)
def buildDir = "$tmpDir/build"
@ -98,7 +97,7 @@ for (int i = 0; i < osxPlatforms.size(); i++) {
} }
sh "make install"
} }
} }
} } }
} }
}