-
Scenario: Client has 2 Endevor systems on 2 lpars. We are migrating both to Gitlab/DBB/UCD implementations. However, the applications within each system are also subject to only being compiled/built on one lpar or the other. For DBB/zApp, I want to have a standard zApp implementation so that there is only one zApp repository that is cloned for either build system. Ultimately, I want the solution to be ambiguous as possible to which system it is executing on. However, this isn't entirely possible due to things like linklib concat and other nuisances. Now, for both systems, if you look at it from just a specific implementation for that system, then I just follow the pattern already there and use the default Application properties, only overriding at application.properties when necessary. But what I really need is 2 "default" application properties, again only overriding at the application.properties level. So my question is, what would be the best way to achieve this? Ideas I have:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The more I think about it. I need to be able to tell zApp where the build-conf directory is. But this needs to work for user builds without having the user add this to the command line options. |
Beta Was this translation helpful? Give feedback.
-
I had a similar problem when I wanted to use the ZAppBuild code base in our Sandbox as our production environment.
|
Beta Was this translation helpful? Give feedback.
I had a similar problem when I wanted to use the ZAppBuild code base in our Sandbox as our production environment.
I did a small change to build.groovy and added one extra build parameter (zAppEnv).
In the zAppBuild repo I have the normal build-conf directory and then cloned that into the name I want to use for the other environment, example build-conf-sandbox, in there I can define other options that are specific for the sandbox environment.
And in build.groovy changed to