Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- }
- java.lang.ClassCastException: org.jenkinsci.plugins.workflow.steps.EnvStep.overrides expects java.util.List<java.lang.String> but received class [Ljava.lang.String;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement