License check via the Dash-Licenses tool provided by the Eclipse Foundation.
- Clones the latest "master" of the dash-licenses GitHub project
- Clones the latest "master" of Eclipse Ditto-Clients
- Builds the dash-licenses tool with Maven
- Excecutes the dash-licenses tool with the package-lock.json dependencies from the Ditto JavaScript client
- Attaches the results to the build
If there are error logs (SEVERE) in the output because of some error logs, you can do the following:
- Comment out the last shell step that calls the dash jar
- Adjust the archived artifacts to **/package-lock.json (or **/*/package-lock.json, I dont remember)
- Clone https://github.boschdevcloud.com/bosch-iot-things/dash-licenses locally
- Copy the package-locks to local folder in the cloned repo, adjust Main.java to point to the package-locks and run it
- Profit