[JIRA] (JENKINS-53659) support for parallel Stages nested in stages for ressource locking

2019-10-22 Thread bitwise...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Liam Newman closed an issue as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Bulk closing resolved issues.   
 

  
 
 
 
 

 
 Jenkins /  JENKINS-53659  
 
 
  support for parallel Stages nested in stages for ressource locking   
 

  
 
 
 
 

 
Change By: 
 Liam Newman  
 
 
Status: 
 Resolved Closed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.194154.153736499.15919.1571801045675%40Atlassian.JIRA.


[JIRA] (JENKINS-53659) support for parallel Stages nested in stages for ressource locking

2018-10-02 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer resolved as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53659  
 
 
  support for parallel Stages nested in stages for ressource locking   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Duplicate  
 

  
 
 
 
 

 
 
 

 
 
 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-53659) support for parallel Stages nested in stages for ressource locking

2018-09-19 Thread torsten.klei...@ikb.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Torsten Kleiber created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53659  
 
 
  support for parallel Stages nested in stages for ressource locking   
 

  
 
 
 
 

 
Issue Type: 
  New Feature  
 
 
Assignee: 
 Andrew Bayer  
 
 
Components: 
 lockable-resources-plugin, pipeline-model-definition-plugin  
 
 
Created: 
 2018-09-19 13:49  
 
 
Environment: 
 Jenkins 2.138.1  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Torsten Kleiber  
 

  
 
 
 
 

 
 I don't want nest parallel in parallel. My use case is locking a resource for the parallel and sequential stages as a whole: 

 

pipeline {
agent any
stages {
stage('Lock wrapper') {
options {
  lock('resource')
} 
stages {
stage('Sequential 1') {
steps {
echo "Sequential 1"
}
}
stage('Sequential 2') {
parallel {
stage('Parallel 2a') {
steps {
echo "Parallel 2a"
}
}
}
}
}
}
}
}
 

 But this gives following error: Parallel stages or branches can only be included in a top-level stage. My final pipeline has far more than these stages, so lock of the whole pipeline is not an option.