IBM / dbb

The helpful and handy location for finding and sharing example IBM Dependency Based Build (DBB) scripts and snippets.
Apache License 2.0
55 stars 126 forks source link

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed #16

Open DhineshPalanisamy opened 4 years ago

DhineshPalanisamy commented 4 years ago

Hi All,

Am trying to perform DBB Team build using Jenkins, am getting below reposes with unreadable format. Attached Complete Jenkins dbb error log.txt log. Any help highly appreciated

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /u/ibmuser/jenkins/workspace/FintechUse/MortgageApplication/build/build.groovy: 1: unexpected char: 0x89 @ line 1, column 1. ‰”—–™£@ƒ–”K‰‚”K„‚‚K‚¤‰“„K\‰”—–™£@ƒ–”K‰‚”K„‚‚K‚¤‰“„K™…—–™£K\‰”—–™£@ƒ–”K‰‚”K„‚‚K™…—–¢‰£–™¨K\‰”—–™£@ƒ–”K‰‚”K„‚‚K„…—…•„…•ƒ¨K\

nlopez59G commented 4 years ago

It looks like an install issue. The groovy code looks like its in ascii. If you clone from the groovy samples from the public site, rocket git will convert them to ebcdic on your USS zFS.

DhineshPalanisamy commented 4 years ago

Thanks for your reply nlopez59G,

When i tried issuing ls -alT MortgageApplication/cobol under Jenkins cloned workspace, i got below tags as IBM-1047

IBMUSER:/u/ibmuser/jenkins/workspace/FintechUse/MortgageApplication: >cd ..
IBMUSER:/u/ibmuser/jenkins/workspace/FintechUse: > ls -alT MortgageApplication/c obol
total 80
drwxr-xr-x 2 OMVSKERN IPGROUP 8192 Nov 12 05:19 .
drwxr-xr-x 10 OMVSKERN IPGROUP 8192 Nov 7 02:09 ..
t IBM-1047 T=on -rw-r--r-- 1 OMVSKERN IPGROUP 7910 Nov 12 05:19 epsmli st.cbl
t IBM-1047 T=on -rw-r--r-- 1 OMVSKERN IPGROUP 5868 Nov 6 23:41 epsmpm t.cbl
t IBM-1047 T=on -rw-r--r-- 1 OMVSKERN IPGROUP 6737 Nov 6 23:41 epsnbr vl.cbl

when i tried same in MortgageApplication/build , for ADMIN.pw got ISO8859-. Rest f the script files are in IBM-1047

when i tried running build.groovy in USS . Got error like : Caught: com.ibm.dbb.repository.ConnectionException: com.ibm.dbb.repository.Conne ctionException: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParse Exception: Content is not allowed in prolog.
com.ibm.dbb.repository.ConnectionException: com.ibm.dbb.repository.ConnectionExc eption: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseExceptio n: Content is not allowed in prolog.

Is this related to installation issue?

nlopez59G commented 4 years ago

It may be an install issue. This file must be a true ascii file iso8859 and it seems like it got corrupted. There is a property file where this file is defined. You can chg that to not use the file and provide your own password.

ianc-d commented 4 years ago

Check you've got a .gitattributes file which maps the file types to the code pages on your system. Otherwise it will cause this error.