Showing 110 of 159 total issues
Avoid too many return
statements within this function. Open
Open
if (lifeCycleState === 'NOT_BUILT') return 'Gray';
Avoid too many return
statements within this function. Open
Open
return statusText + "/" + resultText;
Avoid too many return
statements within this function. Open
Open
if (lifeCycleState === 'NotBuilt') return 'Gray';
Avoid too many return
statements within this function. Open
Open
if (result === 'NOT_BUILT') return "Blue";
Avoid too many return
statements within this function. Open
Open
if (result === 'ABORTED') return "Aborted";
Avoid too many return
statements within this function. Open
Open
if (result === null) return "Running";
Avoid too many return
statements within this function. Open
Open
return -1;
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
if (build.status === "FAILURE") return "Red";
Avoid too many return
statements within this function. Open
Open
if (build.status === "UNKNOWN") return "Unknown";