[JIRA] (JENKINS-57094) Add option to fail build if unshelve changelist does not exists

2019-04-18 Thread jc.imbea...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean-Christian Imbeault commented on  JENKINS-57094  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add option to fail build if unshelve changelist does not exists   
 

  
 
 
 
 

 
 Hi Karl and thanks for looking into this.  I’m new to Jenkins but will try and answer your questions. I’m using the GUI to create the job. No Groovy. I guess that’s called freestyle? I think in your example the changelist does not exists. My case is where the changelist exists but it has no shelved files. To replicate, I create a changelist with P4V and shelve the files. Then I delete all the shelved files.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-57094) Add option to fail build if unshelve changelist does not exists

2019-04-17 Thread jc.imbea...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean-Christian Imbeault created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57094  
 
 
  Add option to fail build if unshelve changelist does not exists   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 p4-plugin  
 
 
Created: 
 2019-04-18 01:14  
 
 
Environment: 
 Jenkins ver. 2.135  p4-plugin ver. 1.9.6  
 
 
Labels: 
 plugin p4-plugin p4  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Jean-Christian Imbeault  
 

  
 
 
 
 

 
 I'd like to request adding an option the the Perforce: Unshelve build step to fail the build if the unshelve changelist does not exist. Perhaps a checkbox with "Fail build if unshelve changelist does not exist" Currently the console output looks like this when unshelving using a shelve list that does not exists.     p4 unshelve -f -s252595 -cdefault   No such file(s).   For our workflow it would be an error for the build to pass if there were no shelved files.  
 

  
 
 
 
 

 
 
 

 
 
 

[JIRA] (JENKINS-56671) Allow empty results (Do not fail the build on empty test results)

2019-03-21 Thread jc.imbea...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean-Christian Imbeault created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56671  
 
 
  Allow empty results (Do not fail the build on empty test results)   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Nikolas Falco  
 
 
Components: 
 xunit-plugin  
 
 
Created: 
 2019-03-22 00:12  
 
 
Environment: 
 Jenkins ver. 2.135  xUnit plugin 2.3.3  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Jean-Christian Imbeault  
 

  
 
 
 
 

 
 JUnit provides a configuration to not fail the build if on empty test results. 
 

 
 
Allow empty results 
Do not fail the build on empty test results 
 

 
 Would it be possible to add the same configuration option to XUnit?      
 

  
 
 
 
 

 
 
 

 

[JIRA] (JENKINS-52970) P4 plugin throws NumberFormatException for parameterized string

2018-08-13 Thread jc.imbea...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean-Christian Imbeault commented on  JENKINS-52970  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: P4 plugin throws NumberFormatException for parameterized string   
 

  
 
 
 
 

 
 Thanks for the quick turnaround! I agree that this is most likely a bug upstream as you say. What's the best way for me to report it? I'm not sure which plugin (or is it core) I should report the bug against. I'm glad you added a 'fix' but I feel I should let the problematic upstream system also know about the issue.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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] (JENKINS-52970) P4 plugin throws NumberFormatException for parameterized string

2018-08-09 Thread jc.imbea...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean-Christian Imbeault created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-52970  
 
 
  P4 plugin throws NumberFormatException for parameterized string   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 p4-plugin  
 
 
Created: 
 2018-08-10 02:07  
 
 
Environment: 
 On Jenkins ver. 2.135 using P4 Plugin 1.8.14   I have created Freestyle project and used 'This project is parameterized'. I created a String parameter named SHELVED_CHANGELIST_NUMBER, and checked 'Trim the string'.   I have a 'Perforce: Unshelve' build step with the following:   Unshelve changelist: ${SHELVED_CHANGELIST_NUMBER}   When I try to build using 'Build with Paramters', I input 227458 as the changelist number.   I then get this error:   ERROR: Build step failed with exception  java.lang.NumberFormatException: For input string: " 227458"  at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)  at java.lang.Long.parseLong(Long.java:578)  at java.lang.Long.parseLong(Long.java:631)  at org.jenkinsci.plugins.p4.unshelve.UnshelveBuilder.unshelve(UnshelveBuilder.java:119)  at org.jenkinsci.plugins.p4.unshelve.UnshelveBuilder.perform(UnshelveBuilder.java:86)  at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)  at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)  at hudson.model.Build$BuildExecution.build(Build.java:206)  at hudson.model.Build$BuildExecution.doRun(Build.java:163)  at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)  at hudson.model.Run.execute(Run.java:1815)  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)  at hudson.model.ResourceController.execute(ResourceController.java:97)  at hudson.model.Executor.run(Executor.java:429)  Build step 'Perforce: Unshelve' marked build as failure   
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Jean-Christian Imbeault  
 

  
 
 
 
 

 
 

[JIRA] (JENKINS-44197) Support Perforce in Blue Ocean

2018-08-01 Thread jc.imbea...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean-Christian Imbeault commented on  JENKINS-44197  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Support Perforce in Blue Ocean   
 

  
 
 
 
 

 
 We upgraded our Jenkins to get Blue Ocean but were disappointed to find out that it did not support Perforce. I'd love for our company to use git but for legacy reason it's just not possible.    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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.