Build script » History » Version 2
« Previous -
Version 2/5
(diff) -
Next » -
Current version
Luke Murphey, 02/14/2017 10:43 PM
Build script¶
Benefits
- Creates a Splunk app file easily (without having to run a bunch of CLI tools manually). It will also populate the build file with things like the build date and perform minification.
- Deploys your changes to a local Splunk install for testing your changes (avoids manually copying the files over).
#
Structure code layout¶
Add build script¶
Make default.properties file¶
Make local.properties file¶
Use the build script¶
Targets for publishing the Splunk app (the main one):- package
- splunk.deploy
- splunk.start, splunk.restart, splunk.stop, splunk.restart_web
- splunk.deploy_and_refresh
- test.run_unit