Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------
- 2024-02-08 15:32:37 [INFO]
- 2024-02-08 15:32:37 [INFO] ----------------------------------------------
- 2024-02-08 15:32:37 [INFO] ----------------------------------------------
- 2024-02-08 15:32:37 [INFO] Linting [GROOVY] files...
- 2024-02-08 15:32:37 [INFO] ----------------------------------------------
- 2024-02-08 15:32:37 [INFO] ----------------------------------------------
- 2024-02-08 15:32:37 [INFO] ---------------------------
- 2024-02-08 15:32:37 [INFO] File:[/github/workspace/jenkins-universal-wrapper-pipeline.groovy]
- 2024-02-08 15:32:50 [INFO] - File:[jenkins-universal-wrapper-pipeline.groovy] was linted with [npm-groovy-lint] successfully
- 2024-02-08 15:32:50 [INFO] - Command output:
- ------
- CodeNarcServer unexpected error:
- {
- "message": "Request failed with status code 500",
- "name": "AxiosError",
- "stack": "AxiosError: Request failed with status code 500
- at settle (/node_modules/axios/dist/node/axios.cjs:1967:12)
- at IncomingMessage.handleStreamEnd (/node_modules/axios/dist/node/axios.cjs:3062:11)
- at IncomingMessage.emit (node:events:524:35)
- at endReadableNT (node:internal/streams/readable:1359:12)
- at process.processTicksAndRejections (node:internal/process/task_queues:82:21)",
- "config": {
- "transitional": {
- "silentJSONParsing": true,
- "forcedJSONParsing": true,
- "clarifyTimeoutError": false
- },
- "adapter": [
- "xhr",
- "http"
- ],
- "transformRequest": [
- null
- ],
- "transformResponse": [
- null
- ],
- "timeout": 600000,
- "xsrfCookieName": "XSRF-TOKEN",
- "xsrfHeaderName": "X-XSRF-TOKEN",
- "maxContentLength": -1,
- "maxBodyLength": -1,
- "env": {},
- "headers": {
- "Accept": "application/json, text/plain, */*",
- "Content-Type": "application/json",
- "User-Agent": "axios/1.6.2",
- "Content-Length": "15812",
- "Accept-Encoding": "gzip, compress, deflate, br"
- },
- "httpAgent": {
- "_events": {},
- "_eventsCount": 2,
- "defaultPort": 80,
- "protocol": "http:",
- "options": {
- "family": 4,
- "keepAlive": true,
- "noDelay": true,
- "path": null
- },
- "requests": {},
- "sockets": {},
- "freeSockets": {
- "localhost:7484::4": [
- {
- "connecting": false,
- "_hadError": false,
- "_parent": null,
- "_host": "localhost",
- "_closeAfterHandlingError": false,
- "_readableState": {
- "objectMode": false,
- "highWaterMark": 16384,
- "buffer": {
- "head": null,
- "tail": null,
- "length": 0
- },
- "length": 0,
- "pipes": [],
- "flowing": true,
- "ended": false,
- "endEmitted": false,
- "reading": true,
- "constructed": true,
- "sync": false,
- "needReadable": true,
- "emittedReadable": false,
- "readableListening": false,
- "resumeScheduled": false,
- "errorEmitted": false,
- "emitClose": false,
- "autoDestroy": true,
- "destroyed": false,
- "errored": null,
- "closed": false,
- "closeEmitted": false,
- "defaultEncoding": "utf8",
- "awaitDrainWriters": null,
- "multiAwaitDrain": false,
- "readingMore": false,
- "dataEmitted": true,
- "decoder": null,
- "encoding": null
- },
- "_events": {
- "timeout": [
- null,
- null
- ]
- },
- "_eventsCount": 6,
- "_writableState": {
- "objectMode": false,
- "highWaterMark": 16384,
- "finalCalled": false,
- "needDrain": false,
- "ending": false,
- "ended": false,
- "finished": false,
- "destroyed": false,
- "decodeStrings": false,
- "defaultEncoding": "utf8",
- "length": 0,
- "writing": false,
- "corked": 0,
- "sync": false,
- "bufferProcessing": false,
- "writecb": null,
- "writelen": 0,
- "afterWriteTickInfo": null,
- "buffered": [],
- "bufferedIndex": 0,
- "allBuffers": true,
- "allNoop": true,
- "pendingcb": 0,
- "constructed": true,
- "prefinished": false,
- "errorEmitted": false,
- "emitClose": false,
- "autoDestroy": true,
- "errored": null,
- "closed": false,
- "closeEmitted": false
- },
- "allowHalfOpen": false,
- "_sockname": null,
- "_pendingData": null,
- "_pendingEncoding": "",
- "server": null,
- "_server": null,
- "parser": null,
- "_httpMessage": null,
- "timeout": 0
- }
- ]
- },
- "keepAliveMsecs": 1000,
- "keepAlive": true,
- "maxSockets": null,
- "maxFreeSockets": 256,
- "scheduling": "lifo",
- "maxTotalSockets": null,
- "totalSocketCount": 1
- },
- "method": "post",
- "url": "http://localhost:7484/request",
- "data": "{\"codeNarcArgs\":[\"-basedir=/github/workspace\",\"-ruleset=%7B%22AbstractClassName%22%3A%7B%7D%2C%22AbstractClassWithoutAbstractMethod%22%3A%7B%7D%2C%22AbstractClassWithPublicConstructor%22%3A%7B%7D%2C%22AddEmptyString%22%3A%7B%7D%2C%22AssertWithinFinallyBlock%22%3A%7B%7D%2C%22AssignCollectionSort%22%3A%7B%7D%2C%22AssignCollectionUnique%22%3A%7B%7D%2C%22AssignmentInConditional%22%3A%7B%7D%2C%22AssignmentToStaticFieldFromInstanceMethod%22%3A%7B%7D%2C%22BigDecimalInstantiation%22%3A%7B%7D%2C%22BitwiseOperatorInConditional%22%3A%7B%7D%2C%22BlankLineBeforePackage%22%3A%7B%7D%2C%22BlockEndsWithBlankLine%22%3A%7B%7D%2C%22BlockStartsWithBlankLine%22%3A%7B%7D%2C%22BooleanGetBoolean%22%3A%7B%7D%2C%22BooleanMethodReturnsNull%22%3A%7B%7D%2C%22BracesForClass%22%3A%7B%22priority%22%3A3%7D%2C%22BracesForForLoop%22%3A%7B%22priority%22%3A3%7D%2C%22BracesForIfElse%22%3A%7B%22priority%22%3A3%7D%2C%22BracesForMethod%22%3A%7B%22priority%22%3A3%7D%2C%22BracesForTryCatchFinally%22%3A%7B%22priority%22%3A3%7D%2C%22Bro
- },
- "code": "ERR_BAD_RESPONSE",
- "status": 500
- }
- "java.base/java.lang.Class.forName0(Native Method)
- java.base/java.lang.Class.forName(Class.java:375)
- groovy.grape.Grape.getInstance(Grape.java:126)
- groovy.grape.Grape$1.run(Grape.java:163)
- groovy.grape.Grape$1.run(Grape.java:160)
- java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
- groovy.grape.Grape.grab(Grape.java:160)
- groovy.grape.GrabAnnotationTransformation.visit(GrabAnnotationTransformation.java:377)
- org.codehaus.groovy.transform.ASTTransformationVisitor.lambda$addPhaseOperationsForGlobalTransforms$4(ASTTransformationVisitor.java:337)
- org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:901)
- org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:671)
- org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:635)
- groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:389)
- groovy.lang.GroovyClassLoader.lambda$parseClass$3(GroovyClassLoader.java:332)
- org.codehaus.groovy.runtime.memoize.StampedCommonCache.compute(StampedCommonCache.java:163)
- org.codehaus.groovy.runtime.memoize.StampedCommonCache.getAndPut(StampedCommonCache.java:154)
- groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:330)
- groovy.lang.GroovyShell.parseClass(GroovyShell.java:526)
- groovy.lang.GroovyShell.parse(GroovyShell.java:538)
- groovy.lang.GroovyShell.parse(GroovyShell.java:547)
- groovy.lang.GroovyShell$parse.call(Unknown Source)
- org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
- org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
- org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
- com.nvuillam.CodeNarcServer.parseFile(CodeNarcServer.groovy:422)
- java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
- java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- java.base/java.lang.reflect.Method.invoke(Method.java:568)
- org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
- groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
- org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:362)
- org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:61)
- org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
- org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
- org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
- com.nvuillam.CodeNarcServer$_parseFiles_closure9.doCall(CodeNarcServer.groovy:412)
- java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
- java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- java.base/java.lang.reflect.Method.invoke(Method.java:568)
- org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
- groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
- org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:274)
- groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1035)
- groovy.lang.Closure.call(Closure.java:412)
- groovy.lang.Closure.call(Closure.java:428)
- org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2358)
- org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2343)
- org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2384)
- org.codehaus.groovy.runtime.dgm$202.invoke(Unknown Source)
- org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:247)
- org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
- org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
- org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
- org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
- com.nvuillam.CodeNarcServer.parseFiles(CodeNarcServer.groovy:411)
- java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
- java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- java.base/java.lang.reflect.Method.invoke(Method.java:568)
- org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
- groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
- org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:362)
- org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:61)
- org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
- org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
- org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:194)
- com.nvuillam.CodeNarcServer$_request_closure5.doCall(CodeNarcServer.groovy:281)
- java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
- java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- java.base/java.lang.reflect.Method.invoke(Method.java:568)
- org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
- groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
- org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:274)
- groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1035)
- groovy.lang.Closure.call(Closure.java:412)
- org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50)
- org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:110)
- jdk.proxy3/jdk.proxy3.$Proxy12.handle(Unknown Source)
- jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:95)
- jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82)
- jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:98)
- jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:851)
- jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:95)
- com.sun.net.httpserver.Filter$Chain$doFilter.call(Unknown Source)
- com.nvuillam.CodeNarcServer$1.doFilter(CodeNarcServer.groovy:174)
- jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:98)
- com.sun.net.httpserver.Filter$Chain$doFilter.call(Unknown Source)
- com.nvuillam.CodeNarcServer$2.doFilter(CodeNarcServer.groovy:211)
- jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:98)
- jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:818)
- java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
- java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
- java.base/java.lang.Thread.run(Thread.java:840)"
- npm-groovy-lint results in 1 linted files:
- ┌─────────┬───────────┬─────────────┐
- │ (index) │ Severity │ Total found │
- ├─────────┼───────────┼─────────────┤
- │ 0 │ 'Error' │ 0 │
- │ 1 │ 'Warning' │ 0 │
- │ 2 │ 'Info' │ 0 │
- └─────────┴───────────┴─────────────┘
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement