Skip to Main Content
Due to the recent acquisition by IBM, the Adabas & Natural Ideas Portal does not contain ideas from products ApplinX and EntireX any longer. Please refer to the IBM Ideas Portal for these products from now on (IBMid required). Existing content will be migrated during the next few weeks.
Status Not in Plan
Workspace NaturalONE
Categories NaturalONE (ONE)
Created by Trentan Healey
Created on Oct 2, 2024

Ant Deploy Script new property - incremental deploy max modules allowed

I am not stowing on the mainframe anymore (upload and stow=no in deploy.xml) until I can be 100% certain the problem will not occur again (hence why I have asked for an incremental failsafe property to be added in the next release / update below).
Proposed property / “incremental deploy failsafe property”: e.g. -pMaxModules=x

I proposed adding a new property to the ant execution to backout and throw an exception as I thought a limiting parameter would be useful for ‘incremental’ deploys in a “worst case scenario” if it identifies more changes than intended / tries to stow more than a set property limit.

Every time this problem occurs, I have to run a job to restore from a database backup for every single module which should not have been stowed - sometimes over 20,000 modules.

e.g. as an ant run property -pMaxModules=25 or something would be extremely helpful and a failsafe if more than x modules change (or whatever number specified) abort the run