on ‎2017 Apr 04 9:44 PM
I replaced my custom and config folder with the one from the code repository.When i do a ant clean all after that, i get this errorC:\hybris\hybris\bin\platform>ant clean Buildfile: C:\hybris\hybris\bin\platform\build.xml [echo] C:\hybris\hybris\bin\platform/tomcat/bin [echo] [echo] CORRUPT CONFIG FOLDER FOUND [echo] [echo] Rename your existing config folder and call "ant" to create a new config folder. Afterwards copy back your config files. [echo]
BUILD FAILED C:\hybris\hybris\bin\platform\build.xml:30: The following error occurred while executing this line: C:\hybris\hybris\bin\platform\resources\ant\antmacros.xml:85: The following error occurred while executing this line: C:\hybris\hybris\bin\platform\resources\ant\util.xml:453: See message above
Total time: 1 second
Request clarification before answering.
Great solution above if you are running locally and can do an 'ant clean all/ ant all, etc.' But, doesn't help when you have hybris running through a ci/cd pipeline, i.e. jenkins. If you are encountering the above error while running through ci/cd, then the following needs to be checked: 1. Ensure that you are copying down your repo to a directory other than the 'workspace.' Workspace, by default gets cleaned out at the start of every build. You can disable the 'delete the workspace' option, but you will get the error above when the repo is copied down on the next build run. 2. Permission must be at least 700 on the directory outside the workspace.
Hopefully, this helps somebody setting up a ci/cd pipeline. Not a lot of info here on jenkins and hybris. Just doing my part :-).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.