Requirements
- Windows OS w/
- Domino Designer installed for headless DDE builds
- Notes SSO (so no pw prompt)
DESIGNER_AUTO_ENABLED=true
set innotes.ini
- at same FP/version as server environments
- any dependent OSGi plugins for DDE installed
- any dependent JARs from server/apps installed to
<installDir>/jvm/lib/ext/
- (optional) Notes Client Killer installed
- Jenkins CI installed as an "app"
- to run as logged in user (does not happen if done as a Windows service, sadly)
- configured to allow interacting with the desktop (may be service only)
- task will contain (by my implementation) 4 steps (see other files)
- (optional*, unless large NSF w/ build issues) xsltproc4domino (abbreviated DORA) to ensure a clean ODP import by headless DDE
- (optional) Notes Client Killer (helps, in case Jenkins task +/- headless DDE gets hung; at a minimum, have a separate Jenkins task to call the client killer)
- PowerShell to execute the headless DDE build
- scan the
HEADLESS0.log
for whether to mark the task a failure (Jenkins had mis-reported "SUCCESS" when the headless DDE call failed to build a usable NSF) - (optional) SonarQube analysis (previously covered)
- git repository access to the project(s) in question, at least visible to the Jenkins instance
- (optional) a SonarQube (server) environment set up, scanner installed and config'd correctly for shell use w/ Jenkins
Recommended (optional):
- Color ANSI plugin (to make better console output for Jenkins)
References
- Cameron Gregor:
- Martin Pradny:
- Eric McCormick:
- xsltproc4domino (DORA lite): https://gist.github.com/edm00se/9816aa9e8d0109c2009d (boilerplate
package.json
andGruntfile.js
)
- xsltproc4domino (DORA lite): https://gist.github.com/edm00se/9816aa9e8d0109c2009d (boilerplate