gradle-jenkins-plugin
gradle-jenkins-plugin copied to clipboard
Logging Output Hard to Read
When updating a Jenkins server it is hard to visually parse the logging output.
This is due to the current logging pattern being inconsistent.
These lines:
logger.warn('Creating new item ' + item.configurableName + ' on ' + server.url)
logger.warn('Updating item ' + item.configurableName + ' on ' + server.url)
Have this pattern:
{action} {item_name} {server_url}
While this line:
logger.warn('Jenkins item ' + item.configurableName + ' has no changes to the existing item on ' + server.url)
Has this pattern:
{item_name} {action} {server_url}
Would it be possibly to change the last item to match the pattern of the first two?
The file that contains the logging code is this one: https://github.com/ghale/gradle-jenkins-plugin/blob/9f7ee4e58731762572444cacdedd0415e7c12b74/src/main/groovy/com/terrafolio/gradle/plugins/jenkins/tasks/UpdateJenkinsItemsTask.groovy