SandeepVaman / Node-App

MIT License
0 stars 1 forks source link

Node App CI #18 failed #8

Open SandeepVaman opened 6 years ago

SandeepVaman commented 6 years ago

Build 'Node App CI' is failing!

Last 50 lines of build output:

[...truncated 1.12 KB...]
Commit message: "Merge ce8b6a102989773d727c51d333b982b08f3270e5 into ba358f0e52cdd89c3cf3de60d140988c81b66036"
First time build. Skipping changelog.
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on Jenkins in /Users/Shared/Jenkins/Home/workspace/Node App CI
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/SandeepVaman/Node-App.git # timeout=10
Fetching upstream changes from https://github.com/SandeepVaman/Node-App.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials 
 > git fetch --tags --progress https://github.com/SandeepVaman/Node-App.git +refs/pull/*:refs/remotes/origin/pr/*
 > git rev-parse refs/remotes/origin/pr/7/merge^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/pr/7/merge^{commit} # timeout=10
Checking out Revision 8796cc67b11d87836985a7da260d1ea5a8c8360d (refs/remotes/origin/pr/7/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8796cc67b11d87836985a7da260d1ea5a8c8360d
Commit message: "Merge ce8b6a102989773d727c51d333b982b08f3270e5 into ba358f0e52cdd89c3cf3de60d140988c81b66036"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Unit tests)
[Pipeline] sh
[Node App CI] Running shell script
+ npm install
/Users/Shared/Jenkins/Home/workspace/Node App CI@tmp/durable-f3766b03/script.sh: line 2: npm: command not found
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Code Quality Check up)
Stage "Code Quality Check up" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] echo
This will run only if failed
[Pipeline] script
[Pipeline] {
[Pipeline] properties
[Pipeline] }
[Pipeline] // script
[Pipeline] step

Changes since last successful build: No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes

No changes No changes No changes

View full output

SandeepVaman commented 6 years ago

Build 'Node App CI' is failing!

Last 50 lines of build output:

[...truncated 10.16 KB...]
INFO: 0/2 files analyzed
WARN: Missing blame information for the following files:
WARN:   * node_modules/json-schema/draft-zyp-json-schema-03.xml
WARN:   * node_modules/json-schema/draft-zyp-json-schema-04.xml
WARN: This may lead to missing/broken features in SonarQube
INFO: 2 files had no CPD blocks
INFO: Calculating CPD for 3 files
INFO: CPD calculation finished
INFO: Analysis report generated in 178ms, dir size=179 KB
INFO: Analysis reports compressed in 38ms, zip size=58 KB
INFO: Analysis report uploaded in 42ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard/index/Node-App
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AWXFAqXFLtPk6Oe0t8uS
INFO: Task total time: 5.387 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 6.980s
INFO: Final Memory: 20M/420M
INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] githubPRComment
Error when executing always post condition:
java.lang.NullPointerException
    at org.jenkinsci.plugins.github.pullrequest.utils.StatusVerifier.isRunAllowed(StatusVerifier.java:27)
    at org.jenkinsci.plugins.github.pullrequest.publishers.impl.GitHubPRCommentPublisher.perform(GitHubPRCommentPublisher.java:59)
    at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
    at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
    at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:50)
    at hudson.security.ACL.impersonate(ACL.java:290)
    at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

[Pipeline] echo
This will run only if failed
[Pipeline] script
[Pipeline] {
[Pipeline] properties
[Pipeline] }
[Pipeline] // script
[Pipeline] step

Changes since last successful build:

View full output

SandeepVaman commented 6 years ago

Build 'Node App CI' is failing!

Last 50 lines of build output:

[...truncated 742 B...]
 > git rev-parse refs/remotes/origin/pr/9/merge^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/pr/9/merge^{commit} # timeout=10
Checking out Revision 4141f2826849254bd094d4c3a138fdb673d93637 (refs/remotes/origin/pr/9/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4141f2826849254bd094d4c3a138fdb673d93637
Commit message: "Merge 1d6ebe2b7107d2718705dad69cd95090064c3770 into ba358f0e52cdd89c3cf3de60d140988c81b66036"
First time build. Skipping changelog.
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on Jenkins in /Users/Shared/Jenkins/Home/workspace/Node App CI
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/SandeepVaman/Node-App.git # timeout=10
Fetching upstream changes from https://github.com/SandeepVaman/Node-App.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials 
 > git fetch --tags --progress https://github.com/SandeepVaman/Node-App.git +refs/pull/*:refs/remotes/origin/pr/*
 > git rev-parse refs/remotes/origin/pr/9/merge^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/pr/9/merge^{commit} # timeout=10
Checking out Revision 4141f2826849254bd094d4c3a138fdb673d93637 (refs/remotes/origin/pr/9/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4141f2826849254bd094d4c3a138fdb673d93637
Commit message: "Merge 1d6ebe2b7107d2718705dad69cd95090064c3770 into ba358f0e52cdd89c3cf3de60d140988c81b66036"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Unit tests)
[Pipeline] sh
[Node App CI] Running shell script
+ npm install
/Users/Shared/Jenkins/Home/workspace/Node App CI@tmp/durable-7ca33720/script.sh: line 2: npm: command not found
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Code Quality Check up)
Stage "Code Quality Check up" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] echo
This will run only if failed
[Pipeline] step

Changes since last successful build: No changes

View full output