How to run Plato JavaScript static analyzer using Bamboo CI server.
This script can be invoked with a Bamboo Script Task.
The only prerequisites are to make sure the Bamboo user can read/write to /opt/plato-report and that your dashboards host actually exists and is configured to allow the Bamboo user to upload files via rsync.
Jenkins lets you turn off "git clean" in the UI (Bamboo does not allow this) so you could do that and then dispense with the copying of plato-reports to /opt/, just keeping all historical assets in the build directory.
Installing NPM on CentOS requires subscribing to the EPEL package repository.
yum -y install epel-release
yum -y install nodejs npm