0
jenkins가 일괄 처리 명령을 실행하여 Java 파일을 컴파일하도록 설정된 작업을 구성했습니다. 작업에 대한 findbug도 사용할 수 있도록 설정했습니다. 내가 작업을 빌드 할 때 나는 오류가 내가 가진 전부를 클릭하면Jenkins Findbugs 빈 출력
No changes.
Started by anonymous user
FindBugs: 0 warnings.
No warnings since build 4.
New zero warnings highscore: no warnings since yesterday!
During parsing an error has been reported.
과 같은
Errors
No report files were found. Configuration error?
이다하지만 내가 얻을 출력은 I의 경우 젠킨스 밖에서 findbugs를 실행합니다. 올바른 출력을 얻었습니다.
내 자바 파일은 findbugs.xml이
class Input {
public static void main(String[] args) {
System.out.println("Hello World! "); // Display the string.
String str = null;
if(str.equals("Test")) {
/* The code here will not be reached, as an exception will be thrown. */
}
}}