Add option to Dump service and config summary
Author: oleg-nenashevCreated Feb 23, 2017Updated Sep 27, 2026
Labelsnew-featuregood first issue
WinSW is being used together with other services like Jenkins. Jenkins has a Support Core Plugin, which collects the information from master itself and the agents. Currently this plugin does not retrieve WinSW information, because there is no way to retrieve the summary.
There are two possible options:
- Invoke winsw.exe executable, which would generate the summary using a special command
- Implement a new plugin, which runs on the startup and dumps it to a file within the workspace
The output should support the human-readable and machine-readable formats (e.g. Markdown and CSV). The following data should be exported:
- WinSW version
- Service name and the current status
- Domain/Username, under which the service runs
- Priority, start mode
- Effective Failover settings
- Process management settings
- Logging configuration
Plugins should be also able to contribute this metadata.
There is also data, which MUST NOT be exported:
- Any fields, which may contain secrets:
password, start/stop arguments, environment, etc.
Source: winsw/winsw