diff options
| author | Matt Rendina <mrendina@stsci.edu> | 2017-08-10 17:25:57 -0400 |
|---|---|---|
| committer | Matt Rendina <mrendina@stsci.edu> | 2017-08-10 17:25:57 -0400 |
| commit | c6de140a73057d7961d652a5fe3d56a9122ba308 (patch) | |
| tree | 237dc4836d3176bb2c664dc185ee0537bd7fc064 | |
| parent | 0bb1a8d16ed3cf04cf2b7c8541449fb55d2727e9 (diff) | |
| download | build_control-c6de140a73057d7961d652a5fe3d56a9122ba308.tar.gz | |
Trim stdout of conda-build version call
| -rw-r--r-- | jenkins/dispatch.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index cc86232..2d9fb59 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -171,7 +171,7 @@ node(LABEL) { sh "conda install --quiet --yes ${cpkgs} python=${PY_VERSION}" // Apply bugfix patch only to conda_build 2.x - def conda_build_version = sh(script: "conda-build --version", returnStdout: true) + def conda_build_version = sh(script: "conda-build --version", 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") { |
