Unrecognized token 'The': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (File); line: 1, column: 5]
Hi
I have installed Team city with Snyk Plugin and configure nuget and snyk build in pipeline. but after running getting error.
[12:03:29] : [Step 5/5] Starting: D:\BuildAgent 1\tools\teamcity-snyk-security-plugin-runner\bin\1.1064.0\snyk-win.exe monitor --json --severity-threshold=low --project-name=FranksRedHot --file=FRANKS20.sln
[12:03:29] : [Step 5/5] in directory: D:\BuildAgent 1\work\9dae6a8f021dead0
[12:03:31]W: [Step 5/5] Process exited with code 2
[12:03:31]W: [Step 5/5] Unrecognized token 'The': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (File); line: 1, column: 5]
[12:03:31] : [Step 5/5] Generating Snyk html report...
[12:03:31] : [Step 5/5] Starting: D:\BuildAgent 1\tools\teamcity-snyk-security-plugin-runner\bin\1.1064.0\snyk-to-html-win.exe -i D:\BuildAgent 1\temp\buildTmp\snyk_report.json -o D:\BuildAgent 1\temp\buildTmp\snyk_report.html
[12:03:31] : [Step 5/5] in directory: D:\BuildAgent 1\work\9dae6a8f021dead0
[12:03:32] : [Step 5/5] Process exited with code 0
[12:03:32]W: [Step 5/5] Publishing artifacts
[12:03:32] : [Publishing artifacts] Collecting files to publish: [D:\BuildAgent 1\temp\buildTmp\snyk_report.html => .teamcity\snyk]
[12:03:32]W: [Publishing artifacts] Artifacts path 'D:/BuildAgent 1/temp/buildTmp/snyk_report.html' not found
[12:03:32] : [Step 5/5] Publishing artifacts
[12:03:32] : [Publishing artifacts] Collecting files to publish: [D:\BuildAgent 1\temp\buildTmp\snyk_report.json => .teamcity\snyk]
[12:03:32] : [Publishing artifacts] Publishing 1 file using [WebPublisher]: D:/BuildAgent 1/temp/buildTmp/snyk_report.json => .teamcity/snyk
[12:03:32] : [Publishing artifacts] Publishing 1 file using [ArtifactsCachePublisherImpl]: D:/BuildAgent 1/temp/buildTmp/snyk_report.json => .teamcity/snyk
[12:03:32]i: [Publishing artifacts] Will publish 1 artifact(s) to TeamCity node with id MAIN_SERVER
[12:03:32] : Publishing artifacts
[12:03:32] : [Publishing artifacts] Collecting files to publish: [D:\BuildAgent 1\temp\buildTmp\nuget7019839681276662187packages\nuget.xml => .teamcity/nuget]
[12:03:32] : [Publishing artifacts] Publishing 1 file using [WebPublisher]: D:/BuildAgent 1/temp/buildTmp/nuget7019839681276662187packages/nuget.xml => .teamcity/nuget
[12:03:32] : [Publishing artifacts] Publishing 1 file using [ArtifactsCachePublisherImpl]: D:/BuildAgent 1/temp/buildTmp/nuget7019839681276662187packages/nuget.xml => .teamcity/nuget
[12:03:32]i: [Publishing artifacts] Will publish 1 artifact(s) to TeamCity node with id MAIN_SERVER
[12:03:33] : Publishing internal artifacts
[12:03:33] : [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[12:03:33] : [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisherImpl]
[12:03:33]i: [Publishing internal artifacts] Will publish 1 artifact(s) to TeamCity node with id MAIN_SERVER
[12:03:33] : Build finished
Please sign in to leave a comment.
This is a third-party plugin so, unfortunately, we are not able to assist with its inner logic. Please consider reaching out to the plugin authors on GitHub: https://github.com/snyk/teamcity-snyk-security-plugin.