<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="admin"/>
<user username="user" password="pass" roles="admin"/>
</tomcat-users>
こんな感じで。

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
dirs = Dir.glob("build_*") | |
dirs.each do |dir| | |
config = dir + "/config.xml" | |
begin | |
file_r = File.open(config, "r") | |
buffer = file_r.read | |
buffer.gsub!("<mavenName>Maven 2.2.1", "<mavenName>2.2.1") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'net/smtp' | |
require 'nkf' | |
require 'rubygems' | |
require 'json/pure' | |
require 'pp' | |
def sendmail(name, key, alert_text) | |
from = '[email protected]' | |
to = '[email protected]' |
$SONAR_HOME/extensions/rules/findbugsに
- rules.xml
- カスタムチェックをまとめたプラグインjar
それぞれ配置して再起動すればよい。
手順はここに書いてある。
http://jira.codehaus.org/browse/SONAR-1481
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table event(title varchar(255),url varchar(255)); |