SumoLogic / sumologic-jenkins-plugin

Apache License 2.0
11 stars 19 forks source link

Added groovy init script for plugin global configuration. #24

Closed Constantin07 closed 5 years ago

Constantin07 commented 5 years ago

This PR explains how to automate the global configuration of SumoLogic plugin using groovy script.

The script was tested on a latest 2.184 version of Jenkins.

Constantin07 commented 5 years ago

@SumoSourabh please can this PR be reviewed ? PS: not sure who exactly needs to be included though.

SumoSourabh commented 5 years ago

Thanks for the groovy script.

I will look into it and let you know the details.

SumoSourabh commented 5 years ago

Let me check if we can put the groovy file as well as so a person can directly use the groovy file instead of creating one.

SumoSourabh commented 5 years ago

@Constantin07 Are you able to send logs to SumoLogic?

Constantin07 commented 5 years ago

@SumoSourabh I do see some logs. Some of them come as under logmessage json field (build success/failure), some of them appear under built in Message field (git checkouts).

An example: image

SumoSourabh commented 5 years ago

Thanks @Constantin07 . The new app for jenkins is also Live.

SumoSourabh commented 5 years ago

Changes have been included as file and updated the README.md accordingly.

https://github.com/SumoLogic/sumologic-jenkins-plugin/pull/26

Closing the PR as changes will go via the above PR.