-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 2.116 on a Azure Kubernetes Cloud (using kubernetes-plugin 1.15.1)
All Pods are over CoreOS 1688.5.3 (docker 17.07)
1 master with statless slaves as pods.
Plugins:
Parameterized-Remote-Trigger: 2.3.0-SNAPSHOT (private-01/07/2018 23:50-cfliesher)
ace-editor: 1.1
analysis-core: 2.0-SNAPSHOT (private-6b615c34-jenkins) - From 3.0 branch
ansicolor: 0.5.2
antisamy-markup-formatter: 1.5
apache-httpcomponents-client-4-api: 4.5.3-2.1
authentication-tokens: 1.3
blueocean: 1.5.0
blueocean-autofavorite: 1.2.2
blueocean-bitbucket-pipeline: 1.5.0
blueocean-commons: 1.5.0
blueocean-config: 1.5.0
blueocean-core-js: 1.5.0
blueocean-dashboard: 1.5.0
blueocean-display-url: 2.2.0
blueocean-events: 1.5.0
blueocean-git-pipeline: 1.5.0
blueocean-github-pipeline: 1.5.0
blueocean-i18n: 1.5.0
blueocean-jira: 1.5.0
blueocean-jwt: 1.5.0
blueocean-personalization: 1.5.0
blueocean-pipeline-api-impl: 1.5.0
blueocean-pipeline-editor: 1.5.0
blueocean-pipeline-scm-api: 1.5.0
blueocean-rest: 1.5.0
blueocean-rest-impl: 1.5.0
blueocean-web: 1.5.0
bouncycastle-api: 2.16.2
branch-api: 2.0.19
build-monitor-plugin: 1.12+build.201708172343
build-token-root: 1.4
cloudbees-bitbucket-branch-source: 2.2.10
cloudbees-folder: 6.4
command-launcher: 1.2
copyartifact: 1.39.1
credentials: 2.1.16
credentials-binding: 1.16
display-url-api: 2.2.0
docker-commons: 1.11
docker-workflow: 1.15.1
durable-task: 1.22
email-ext: 2.62
favorite: 2.3.1
ghprb: 1.40.0
git: 3.8.0
git-client: 2.7.1
git-server: 1.7
github: 1.29.0
github-api: 1.90
github-branch-source: 2.3.3
github-oauth: 0.29
github-pullrequest: 0.1.0-rc29
greenballs: 1.15
handlebars: 1.1.1
handy-uri-templates-2-api: 2.1.6-1.0
htmlpublisher: 1.16
jackson2-api: 2.8.11.1
javadoc: 1.4
jdk-tool: 1.1
jenkins-design-language: 1.5.0
jira: 2.5
jquery-detached: 1.2.1
jsch: 0.1.54.2
junit: 1.24
kubernetes: 1.5.2
kubernetes-credentials: 0.3.1
lockable-resources: 2.2
mailer: 1.21
matrix-auth: 2.2
matrix-project: 1.13
maven-plugin: 3.1.2
mercurial: 2.3
momentjs: 1.1.1
pipeline-build-step: 2.7
pipeline-github-lib: 1.0
pipeline-githubnotify-step: 1.0.4
pipeline-graph-analysis: 1.6
pipeline-input-step: 2.8
pipeline-milestone-step: 1.3.1
pipeline-model-api: 1.2.8
pipeline-model-declarative-agent: 1.1.1
pipeline-model-definition: 1.2.8
pipeline-model-extensions: 1.2.8
pipeline-rest-api: 2.10
pipeline-stage-step: 2.3
pipeline-stage-tags-metadata: 1.2.8
pipeline-stage-view: 2.10
pipeline-utility-steps: 2.0.2
plain-credentials: 1.4
pubsub-light: 1.12
role-strategy: 2.7.0
scm-api: 2.2.6
script-security: 1.43
simple-theme-plugin: 0.4
slack: 2.3
sse-gateway: 1.15
ssh-credentials: 1.13
structs: 1.14
timestamper: 1.8.9
token-macro: 2.5
variant: 1.1
warnings: 5.0-SNAPSHOT (private-ec0337ca-jenkins)
workflow-aggregator: 2.5
workflow-api: 2.27
workflow-basic-steps: 2.6
workflow-cps: 2.48
workflow-cps-global-lib: 2.9
workflow-durable-task-step: 2.19
workflow-job: 2.19
workflow-multibranch: 2.17
workflow-remote-loader: 1.4
workflow-scm-step: 2.6
workflow-step-api: 2.14
workflow-support: 2.18
Jenkins 2.116 on a Azure Kubernetes Cloud (using kubernetes-plugin 1.15.1) All Pods are over CoreOS 1688.5.3 (docker 17.07) 1 master with statless slaves as pods. Plugins: Parameterized-Remote-Trigger: 2.3.0-SNAPSHOT (private-01/07/2018 23:50-cfliesher) ace-editor: 1.1 analysis-core: 2.0-SNAPSHOT (private-6b615c34-jenkins) - From 3.0 branch ansicolor: 0.5.2 antisamy-markup-formatter: 1.5 apache-httpcomponents-client-4-api: 4.5.3-2.1 authentication-tokens: 1.3 blueocean: 1.5.0 blueocean-autofavorite: 1.2.2 blueocean-bitbucket-pipeline: 1.5.0 blueocean-commons: 1.5.0 blueocean-config: 1.5.0 blueocean-core-js: 1.5.0 blueocean-dashboard: 1.5.0 blueocean-display-url: 2.2.0 blueocean-events: 1.5.0 blueocean-git-pipeline: 1.5.0 blueocean-github-pipeline: 1.5.0 blueocean-i18n: 1.5.0 blueocean-jira: 1.5.0 blueocean-jwt: 1.5.0 blueocean-personalization: 1.5.0 blueocean-pipeline-api-impl: 1.5.0 blueocean-pipeline-editor: 1.5.0 blueocean-pipeline-scm-api: 1.5.0 blueocean-rest: 1.5.0 blueocean-rest-impl: 1.5.0 blueocean-web: 1.5.0 bouncycastle-api: 2.16.2 branch-api: 2.0.19 build-monitor-plugin: 1.12+build.201708172343 build-token-root: 1.4 cloudbees-bitbucket-branch-source: 2.2.10 cloudbees-folder: 6.4 command-launcher: 1.2 copyartifact: 1.39.1 credentials: 2.1.16 credentials-binding: 1.16 display-url-api: 2.2.0 docker-commons: 1.11 docker-workflow: 1.15.1 durable-task: 1.22 email-ext: 2.62 favorite: 2.3.1 ghprb: 1.40.0 git: 3.8.0 git-client: 2.7.1 git-server: 1.7 github: 1.29.0 github-api: 1.90 github-branch-source: 2.3.3 github-oauth: 0.29 github-pullrequest: 0.1.0-rc29 greenballs: 1.15 handlebars: 1.1.1 handy-uri-templates-2-api: 2.1.6-1.0 htmlpublisher: 1.16 jackson2-api: 2.8.11.1 javadoc: 1.4 jdk-tool: 1.1 jenkins-design-language: 1.5.0 jira: 2.5 jquery-detached: 1.2.1 jsch: 0.1.54.2 junit: 1.24 kubernetes: 1.5.2 kubernetes-credentials: 0.3.1 lockable-resources: 2.2 mailer: 1.21 matrix-auth: 2.2 matrix-project: 1.13 maven-plugin: 3.1.2 mercurial: 2.3 momentjs: 1.1.1 pipeline-build-step: 2.7 pipeline-github-lib: 1.0 pipeline-githubnotify-step: 1.0.4 pipeline-graph-analysis: 1.6 pipeline-input-step: 2.8 pipeline-milestone-step: 1.3.1 pipeline-model-api: 1.2.8 pipeline-model-declarative-agent: 1.1.1 pipeline-model-definition: 1.2.8 pipeline-model-extensions: 1.2.8 pipeline-rest-api: 2.10 pipeline-stage-step: 2.3 pipeline-stage-tags-metadata: 1.2.8 pipeline-stage-view: 2.10 pipeline-utility-steps: 2.0.2 plain-credentials: 1.4 pubsub-light: 1.12 role-strategy: 2.7.0 scm-api: 2.2.6 script-security: 1.43 simple-theme-plugin: 0.4 slack: 2.3 sse-gateway: 1.15 ssh-credentials: 1.13 structs: 1.14 timestamper: 1.8.9 token-macro: 2.5 variant: 1.1 warnings: 5.0-SNAPSHOT (private-ec0337ca-jenkins) workflow-aggregator: 2.5 workflow-api: 2.27 workflow-basic-steps: 2.6 workflow-cps: 2.48 workflow-cps-global-lib: 2.9 workflow-durable-task-step: 2.19 workflow-job: 2.19 workflow-multibranch: 2.17 workflow-remote-loader: 1.4 workflow-scm-step: 2.6 workflow-step-api: 2.14 workflow-support: 2.18
-
-
5.0.0-beta2
I am trying to get Static Analysis results in a pipeline using the new Static Analysis using pipeline plugins.
thanks to drulli I managed to create a pipeline for a node js github repository.
both scanForIssues and publishIssues hits the same exception:
[Pipeline] scanForIssues 13:29:03 [CheckStyle] Searching for all files in '/home/jenkins/workspace/monitor_master_dev-6G74EQSJPLUUCZUYGIF5A3SRCAXWEFUPUYZ3MGXOYFEVJGFWBB4Q' that match the pattern 'coverage/eslint.xml' 13:29:03 [CheckStyle] -> found 1 file 13:29:03 [CheckStyle] Successfully parsed file /home/jenkins/workspace/monitor_master_dev-6G74EQSJPLUUCZUYGIF5A3SRCAXWEFUPUYZ3MGXOYFEVJGFWBB4Q/coverage/eslint.xml: found 42 issues (skipped 0 duplicates) 13:29:03 [CheckStyle] Resolving absolute file names for all issues 13:29:03 [CheckStyle] Resolved absolute paths for 1 files (Issues 42 resolved, 0 unresolved, 0 already absolute) 13:29:03 [CheckStyle] Resolving module names from module definitions (build.xml, pom.xml, or Manifest.mf files) 13:29:03 [CheckStyle] Resolved module names for 42 issues 13:29:03 [CheckStyle] Using encoding 'UTF-8' to resolve package names (or namespaces) 13:29:03 [CheckStyle] Resolved package names of 1 affected files 13:29:03 [CheckStyle] Using encoding 'UTF-8' to read source files 13:29:03 [CheckStyle] [ERROR] Can't read file '/home/jenkins/workspace/monitor_master_dev-6G74EQSJPLUUCZUYGIF5A3SRCAXWEFUPUYZ3MGXOYFEVJGFWBB4Q/nodejs/monitor.js': java.nio.file.NoSuchFileException: /home/jenkins/workspace/monitor_master_dev-6G74EQSJPLUUCZUYGIF5A3SRCAXWEFUPUYZ3MGXOYFEVJGFWBB4Q/nodejs/monitor.js
I checked for permissions and as you can see the file exists under user:group of jenkins:jenkins with reading rights (change to full rights still failed on the same error)
-rw-r--r-- 1 jenkins jenkins monitor.js
Following link our conversation I am opening this bug,
drulli Do you know if this plugin run anywhere on a master/slave envirnment ?