[JIRA] (JENKINS-51256) properties step fails cryptically if previous build failed due to shard library loading error

2018-05-17 Thread svano...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sam Van Oort closed an issue as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51256  
 
 
  properties step fails cryptically if previous build failed due to shard library loading error   
 

  
 
 
 
 

 
Change By: 
 Sam Van Oort  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Duplicate  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-51256) properties step fails cryptically if previous build failed due to shard library loading error

2018-05-10 Thread ddigt...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Denys Digtiar created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51256  
 
 
  properties step fails cryptically if previous build failed due to shard library loading error   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 stacktrace.txt, support_2018-05-11_00.32.02.zip  
 
 
Components: 
 workflow-multibranch-plugin  
 
 
Created: 
 2018-05-11 00:42  
 
 
Environment: 
 macOS 10.13.4  jdk1.8.0_144  core 2.116  workflow-multibranch 2.18  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Denys Digtiar  
 

  
 
 
 
 

 
 For the sake of simplifying the reproduction steps, the simple Pipeline is used. 
 
Create an empty git repo 
Configure it as a implicitly loaded global shared library 
Create a Pipeline: 
   properties([disableConcurrentBuilds()]) node {   echo 'Hello World' } 
 
Run the Pipeline and see it fail due to  ERROR: Library library expected to contain at least one of src or vars directories 
Add a sayHello step to the shared library https://jenkins.io/doc/book/pipeline/shared-libraries/#defining-custom-steps 
Run the Pipeline again 
 Actual: Build