daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Sep 26th, 2016 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. withEnv(build_env()) {
  2.         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
  3.       }
  4.  
  5. def build_env() {
  6.   def env_filename = env.BUILD_TAG + '.build.env'
  7.   sh './buildenv.sh > /tmp/${BUILD_TAG}.build.env'
  8.   def prop_list = readFile('/tmp/' + env_filename).split('\n')
  9.   return prop_list
  10. }
  11.  
  12.  
  13. java.lang.ClassCastException: org.jenkinsci.plugins.workflow.steps.EnvStep.overrides expects java.util.List<java.lang.String> but received class [Ljava.lang.String;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top