Created
September 26, 2016 19:09
-
-
Save sean-abbott/124e46646c3fb5ee0376026d052b6204 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
withEnv(build_env()) { | |
nexusArtifactUploader artifactId: 'client', classifier: 'linux', credentialsId: '', file: env.ARTIFACT, groupId: 'example', nexusPassword: '', nexusUrl: 'example:8081/nexus', nexusUser: 'deployment', packaging: 'tar.bz2', protocol: 'http', repository: env.REPO, type: '', version: env.JVERSION | |
} | |
def build_env() { | |
def env_filename = env.BUILD_TAG + '.build.env' | |
sh './buildenv.sh > /tmp/${BUILD_TAG}.build.env' | |
def prop_list = readFile('/tmp/' + env_filename).split('\n') | |
return prop_list | |
} | |
# cat /tmp/jenkins-pycan-28.build.env | |
PYVERSION=3.3.6a | |
JVERSION=3.3.6-SNAPSHOT | |
REPO=snapshots | |
PENDO_ARTIFACT=/tmp/conda-bld/linux-64/example-3.3.6a-py_0.tar.bz2 | |
PYTHON_DEPS_ARTIFACT=python-dependencies/example-pip-dependencies-3.3.6a-py35_0.tar.bz2 | |
java.lang.ClassCastException: org.jenkinsci.plugins.workflow.steps.EnvStep.overrides expects java.util.List<java.lang.String> but received class [Ljava.lang.String; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment