Unable to find source-code formatter for language: gradle. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
pipeline {
options {
buildDiscarder(logRotator(
// number of builds to keep
numToKeepStr: env.BRANCH_NAME ==~ /master/ ? '100' :
env.BRANCH_NAME ==~ /production|test/ ? '10' :
env.BRANCH_NAME ==~ /feature\/.*|bug\/.*/ ? '5' : '1',
// number of builds to keep the artifacts from
artifactNumToKeepStr: env.BRANCH_NAME ==~ /master|test/ ? '1' :
env.BRANCH_NAME ==~ /production/ ? '5' :
env.BRANCH_NAME ==~ /feature\/.*|bug\/.*/ ? '1' : '0'
))
}
.....
}