diff options
author | Matt Rendina <mrendina@stsci.edu> | 2017-07-26 17:07:03 -0400 |
---|---|---|
committer | Matt Rendina <mrendina@stsci.edu> | 2017-07-26 17:07:03 -0400 |
commit | f094f4fff2ef58d6b86a1ecadcb52e92d4d1f489 (patch) | |
tree | a60ab853afdc5028992dd752a5e1dba8ad3a60df | |
parent | 8f162aebf9a031921bba326c70291b3aa60931e1 (diff) | |
download | build_control-f094f4fff2ef58d6b86a1ecadcb52e92d4d1f489.tar.gz |
Typo fix
-rw-r--r-- | jenkins/dispatch.groovy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index 24545a3..bc83beb 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -163,10 +163,10 @@ node(LABEL) { sh "conda install --quiet --yes ${cpkgs} python=${PY_VERSION}" // Apply bugfix patch only to conda_build 2.1.1 - 2.1.15 - (?) - conda_build_version = sh(script: "conda-build --version", returnStdout: true) - conda_build_maj_ver = conda_build_version.tokenize()[1].tokenize('.')[0] + def conda_build_version = sh(script: "conda-build --version", returnStdout: true) + def conda_build_maj_ver = conda_build_version.tokenize()[1].tokenize('.')[0] println("conda_build_maj_ver = ${conda_build_maj_ver}") - if (conda_build_major_ver == "2") { + if (conda_build_maj_ver == "2") { def filename = "${env.WORKSPACE}/miniconda/lib/python${PY_VERSION}/" + "site-packages/conda_build/config.py" def patches_dir = "${env.WORKSPACE}/patches" |