[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-04-06 Thread dogf...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 dogfood commented on  JENKINS-33942 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 
 
Integrated in  jenkins_main_trunk #4549 

JENKINS-33942
 Fixed NPE when non-exists run requested (Revision 575c1af489a43a6bc1846ca46864e5d4931e47e3) 
 Result = SUCCESS pjanouse : 575c1af489a43a6bc1846ca46864e5d4931e47e3 Files :  
 

core/src/main/java/hudson/cli/SetBuildDescriptionCommand.java
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-04-06 Thread paul.sokolov...@linaro.org (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Paul Sokolovsky commented on  JENKINS-33942 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 
 
Thanks for quick turnaround! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-04-06 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-33942 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/cli/SetBuildDescriptionCommand.java http://jenkins-ci.org/commit/jenkins/511ccf0c836651d1d825c062d7d42338438c735c Log: Merge pull request #2230 from pjanouse/

JENKINS-33942
 
[FIX JENKINS-33942] Fixed NPE when non-exists run requested 
Compare: https://github.com/jenkinsci/jenkins/compare/0846358bf627...511ccf0c8366 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-04-06 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-33942 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Ing. Pavel Janousek Path: core/src/main/java/hudson/cli/SetBuildDescriptionCommand.java http://jenkins-ci.org/commit/jenkins/575c1af489a43a6bc1846ca46864e5d4931e47e3 Log: 

JENKINS-33942
 Fixed NPE when non-exists run requested 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-04-06 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon resolved as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33942 
 
 
 
  jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 

Change By:
 
 SCM/JIRA link daemon 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-04-06 Thread pjano...@redhat.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Pavel Janoušek commented on  JENKINS-33942 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 
 
PR sent. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-04-06 Thread pjano...@redhat.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Pavel Janoušek assigned an issue to Pavel Janoušek 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33942 
 
 
 
  jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 

Change By:
 
 Pavel Janoušek 
 
 
 

Assignee:
 
 Pavel Janoušek 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-04-06 Thread pjano...@redhat.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Pavel Janoušek commented on  JENKINS-33942 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 
 
Ok, I can see this issue in the code, will fix it. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-04-05 Thread db...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Daniel Beck commented on  JENKINS-33942 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 
 
Pavel Janoušek You may be interested in this one. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-03-31 Thread paul.sokolov...@linaro.org (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Paul Sokolovsky created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33942 
 
 
 
  jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 cli 
 
 
 

Created:
 

 2016/Mar/31 2:38 PM 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Paul Sokolovsky 
 
 
 
 
 
 
 
 
 
 
We use "jenkins-cli.jar set-build-description" command for integration with external CI systems - they record build number, do their processing, then post status back to jenkins by updating build description. Sometimes, recorded build number no longer exists (e.g. was expired), and in thsi case, set-build-description command fails with NullPointerException (and exist code of 255). Of course, NPE isn't selective enough to differentiate "build doesn't exist" (warning-like condition) from more serious error which may require closer attention. 
It would be nice if set-build-description checked build existence, and exited with specific error message and specific exit code for easy scripting. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 

[JIRA] [cli] (JENKINS-33942) jenkins-cli.jar: set-build-description command fails with NPE for non-existent build

2016-03-31 Thread paul.sokolov...@linaro.org (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Paul Sokolovsky updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33942 
 
 
 
  jenkins-cli.jar: set-build-description command fails with NPE for non-existent build  
 
 
 
 
 
 
 
 
 

Change By:
 
 Paul Sokolovsky 
 
 
 

Labels:
 
 cli set-build-description 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.