我有在SonarQube是類似這樣的項目,一些搜索...如何配置SonarQube搜索名稱/鍵不包含字符串
日期>「2014年1月1日」
名稱包含> 「ProjectBear」
我想什麼是
日期> 「2014年1月1日」
名稱包含> 「ProjectBear」
鍵不包含> 「customerA」
這可能在免費/標準SonarQube?
我有在SonarQube是類似這樣的項目,一些搜索...如何配置SonarQube搜索名稱/鍵不包含字符串
日期>「2014年1月1日」
名稱包含> 「ProjectBear」
我想什麼是
日期> 「2014年1月1日」
名稱包含> 「ProjectBear」
鍵不包含> 「customerA」
這可能在免費/標準SonarQube?
我還沒有得到這一個「正確」的答案,但我已經創建了一個腳本的GreaseMonkey躲我不需要在意此刻的模塊。
// ==UserScript==
// @name My Fancy New Userscript
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description enter something useful
// @match http://10.187.72.999:9000/measures/filter/4?display=list
// @copyright 2012+, You
// ==/UserScript==
function addJQuery(callback) {
var script = document.createElement("script");
script.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js");
script.addEventListener('load', function() {
var script = document.createElement("script");
script.textContent = "window.jQ=jQuery.noConflict(true);(" + callback.toString() + ")();";
document.body.appendChild(script);
}, false);
document.body.appendChild(script);
}
// the guts of this userscript
function main() {
// Note, jQ replaces $ to avoid conflicts.
jQ('a[href$="28555"]').parent().parent().remove(); //projectA
jQ('a[href$="20094"]').parent().parent().remove(); //projectB
jQ('a[href$="21139"]').parent().parent().remove(); //projectC
// alert("There are " + jQ('a').length + " links on this page.");
}
// load jQuery and execute the main function
addJQuery(main);
不,這是不可能的。順便說一句,只有一個獨特版本的SonarQube是開源的。