diff options
author | Matt Rendina <mrendina@stsci.edu> | 2017-08-10 17:42:12 -0400 |
---|---|---|
committer | Matt Rendina <mrendina@stsci.edu> | 2017-08-10 17:42:12 -0400 |
commit | c806de29f1ffe5bf81c85b951b461ae382db39a1 (patch) | |
tree | 62f9c78a793eaea3cc718334b6c5a6775c9cd8f1 | |
parent | 0ab20757b2d5297d4d1ad4fff16b66fb0b43e98a (diff) | |
download | build_control-c806de29f1ffe5bf81c85b951b461ae382db39a1.tar.gz |
cleanup
-rw-r--r-- | jenkins/dispatch.groovy | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index de7342e..1b86060 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -171,8 +171,10 @@ node(LABEL) { sh "conda install --quiet --yes ${cpkgs} python=${PY_VERSION}" // Apply bugfix patch only to conda_build 2.x + // py2 conda-build outputs version string to stderr + // whereas the py3 version outputs it to stdout. Merge output streams here to capture + // all output under both circumstances. def conda_build_version = sh(script: "conda-build --version 2>&1", returnStdout: true).trim() - println(" **>> conda_build_version = ${conda_build_version}") def conda_build_maj_ver = conda_build_version.tokenize()[1].tokenize('.')[0] if (conda_build_maj_ver == "2") { println("conda-build major version ${conda_build_maj_ver} detected. Applying bugfix patch.") |