-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PublishLoadModules Jar files- groovyx.net.http.RestClient error #33
Comments
Hi, |
Hi Dennis, we have downloaded the required jar files, while trying to move to <dbb_install_dir>/lib , here the lib folder is read only file in that case how to use those jars? how to point to those jar files when the PublishLoadModule.groovy is executed as part of build.groovy ? Please help us with this. |
Hi,
|
Hi @drbruce-git I understand the concept but I don't know where to provide $DBB_HOME/bin/groovyz -cp /etc/dbb/lib/* DownloadLoadModule.groovy , is that we need to give in jenkins ? because if i need to publish the module and later i need to download it . could you please specific that where i need to give this command . |
Hi, There is a reference in the README in the publishLoadModule folder. Sadly, this sample was developed before zAppBuild was released. Do you run zAppBuild? For MortgageV1 you could include the script sample at:
From my perspective, the high level workflow should be as follows - to have loosely coupling of the steps:
When deploying to the target environment download.sh provides a sample to include that. What is your strategy for packaging and deployment? Any tools already set? |
hi @dennis-behm Thanks for your valuable suggestion, we tried the same as you suggested. we have created the separate Job in Jenkins which invokes PublishLoadModule.groovy. Here once the build.groovy is completed it will trigger the jenkins job which invokes PublishLoadModule.groovy here the jar files path are specified in class path and working directory and loadDatasets are specified in the script parameter. Below is the error we got. /usr/lpp/IBM/dbb/groovy-2.4.12/bin/groovy -cp /v/ibmuser/groovynexus/:/usr/lpp/IBM/dbb/lib/:/usr/include/java_classes/* /u/ibmuser/dvmjenkins/workspace/FINTECHAPP/Build/PublishLoadModules/PublishLoadModule.groovy --workDir /u/ibmuser/dvmjenkins/BUILD-286 1 error Build step 'Execute Groovy script' marked build as failure Please help us how to resolve this. |
hi @Nagaraj1995 the above is a coding issue on
You need to assign a variable ... |
hi @dennis-behm |
@Nagaraj1995 |
Hi ,
I'm trying to publish the artifacts to nexus repository once the build is completed, Document mentioned it requires some jar which are mentioned in ArtifactoryHelpers.groovy. we tried without adding any jar while we build we got error like "unable to resolve groovyx.net.http.RestClient" - Is this issue is related to missing of jar ?
*In case to import the jar files to <dbb_install_dir>/lib , is that requires all jar files which are mentioned in ArtifactoryHelpers.groovy in binary format?
Please help me to resolve this.
The text was updated successfully, but these errors were encountered: