templates.admin.sonar.configureSonarServers.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bamboo-sonar-plugin Show documentation
Show all versions of bamboo-sonar-plugin Show documentation
Bamboo plugin to integrate Sonar code quality platform with Bamboo
[#if mode == 'edit' ]
[#assign targetAction = "/admin/sonar/updateSonarServer.action"]
[#else]
[#assign targetAction = "/admin/sonar/createSonarServer.action"]
[/#if]
[@ww.text name='sonar.global.${mode}.server.title' /]
[@ww.text name='sonar.global.${mode}.server.heading' /]
[@ww.text name='sonar.global.${mode}.server.description' /]
[#if action.hasActionMessages()]
[@ww.actionmessage theme='simple'/]
[/#if]
[@ww.actionerror /]
[@ui.clear /]
[@ww.form action=targetAction
submitLabelKey='sonar.global.${mode}.server.button'
titleKey='sonar.global.${mode}.server.form.title'
cancelUri='/admin/sonar/viewSonarServers.action'
showActionErrors=true
descriptionKey='sonar.global.${mode}.server.form.description']
[@ww.hidden name='mode' /]
[@ww.hidden name='serverDisabled' /]
[#if mode == 'edit']
[@ww.hidden name='serverId' /]
[/#if]
[@ww.textfield name='serverName' labelKey='sonar.server.name' descriptionKey='sonar.server.name.description' required='true' /]
[@ww.textfield name='serverDescription' labelKey='sonar.server.description' descriptionKey='sonar.server.description.description' /]
[@ww.textfield name='serverHost' labelKey='sonar.host.url' descriptionKey='sonar.host.url.description' required='true' /]
[@ww.textfield name='serverUsername' labelKey='sonar.host.username' descriptionKey='sonar.host.username.description' /]
[@ww.textfield name='serverPassword' labelKey='sonar.host.password' descriptionKey='sonar.host.password.description' /]
[@ui.bambooSection titleKey='sonar.jdbc.configuration']
[@ww.textfield name='databaseUrl' labelKey='sonar.jdbc.url' descriptionKey='sonar.jdbc.url.description' /]
[@ww.textfield name='databaseDriver' labelKey='sonar.jdbc.driver' descriptionKey='sonar.jdbc.driver.description' /]
[@ww.textfield name='databaseUsername' labelKey='sonar.jdbc.username' descriptionKey='sonar.jdbc.username.description' /]
[@ww.textfield name='databasePassword' labelKey='sonar.jdbc.password' descriptionKey='sonar.jdbc.password.description' /]
[/@ui.bambooSection]
[@ui.bambooSection titleKey='sonar.extra.configuration']
[@ww.textfield name='additionalArguments' labelKey='sonar.add.args' descriptionKey='sonar.add.args.description' /]
[/@ui.bambooSection]
[/@ww.form]