Adam Cameron
sanjevareddy ch
05/25/2022, 4:03 AMERROR: Error consuming line WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/C:/ProgramData/Jenkins/.jenkins/workspace/LABMAN/.scannerwork/runner/cflint.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) ERROR: Error consuming line WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 ERROR: Error consuming line WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations ERROR: Error consuming line WARNING: All illegal access operations will be denied in a future release
ERROR: Error consuming line Terminated a recursive call to include file C:\ProgramData\Jenkins\.jenkins\workspace\LABMAN\SearchSubPage.cfm
ERROR: Error consuming line Terminated a recursive call to include file C:\ProgramData\Jenkins\.jenkins\workspace\LABMAN\SearchSubPage.cfm
ERROR: Error consuming line Terminated a recursive call to include file C:\ProgramData\Jenkins\.jenkins\workspace\LABMAN\SearchSubPage.cfm
ERROR: Error consuming line Terminated a recursive call to include file
we are getting this recursive call error, and runs in infinite loopjohnfarrar
09/15/2022, 4:50 PMkyle
02/09/2023, 9:47 PMClarissa Perci de Andrade
06/13/2023, 6:44 PMgenerate-lint-report:
image: node
stage: lint
script:
- npm install -g cflint
- apt-get update && apt-get install -y wget gnupg unzip openjdk-17-jdk
- cflint -folder ./
artifacts:
paths:
- cflint-result.html
allow_failure: true
The content I am using in the specific .cflintrc file is:
{
"rule": [],
"includes": [
{ "code": "AVOID_USING_STRUCTNEW" }, {...some other rules}
],
"inheritParent": false,
"parameters": {
"TooManyFunctionsChecker.maximum" : 20
}
}
Adam Cameron