[JIRA] (JENKINS-59776) workflow-basic-steps-plugin "waitUntil" should have a quiet mode

2020-04-20 Thread dnusb...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Devin Nusbaum resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 A fix for this issue was just released in version 2.20 of Pipeline: Basic Steps Plugin. Thanks Bryan Jensen for adding the new option!  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-59776  
 
 
  workflow-basic-steps-plugin "waitUntil" should have a quiet mode   
 

  
 
 
 
 

 
Change By: 
 Devin Nusbaum  
 
 
Status: 
 Open Resolved  
 
 
Assignee: 
 Bryan Jensen  
 
 
Resolution: 
 Fixed  
 
 
Released As: 
 workflow-basic-steps 2.20  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
 

[JIRA] (JENKINS-59776) workflow-basic-steps-plugin "waitUntil" should have a quiet mode

2020-03-11 Thread pue...@puetzk.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kevin Puetz commented on  JENKINS-59776  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-basic-steps-plugin "waitUntil" should have a quiet mode   
 

  
 
 
 
 

 
 Just to update the status here: https://github.com/jenkinsci/workflow-basic-steps-plugin/pull/100 is now merged (not by me, I just got notified by github and see the status isn't updated here)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
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.202500.1571053928000.5747.1583947560254%40Atlassian.JIRA.


[JIRA] (JENKINS-59776) workflow-basic-steps-plugin "waitUntil" should have a quiet mode

2020-02-12 Thread 7h6v4r4...@snkmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Terry Lacy edited a comment on  JENKINS-59776  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-basic-steps-plugin "waitUntil" should have a quiet mode   
 

  
 
 
 
 

 
 Seriously. The "Will try again after" output is obnoxious and pretty useless. If I really want to see what's happening in the logs I can put my own output in the waitUntil block. One of the reasons I switched from sleep loops was that I was hoping to avoid the output from the sleep command.  
 

  
 
 
 
 

 
 
 

 
 
 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.202500.1571053928000.8109.1581518640198%40Atlassian.JIRA.


[JIRA] (JENKINS-59776) workflow-basic-steps-plugin "waitUntil" should have a quiet mode

2020-02-12 Thread 7h6v4r4...@snkmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Terry Lacy commented on  JENKINS-59776  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-basic-steps-plugin "waitUntil" should have a quiet mode   
 

  
 
 
 
 

 
 Seriously. The "Will try again after" output is obnoxious and pretty useless. If I really want to see what's happening in the logs I can put my own output in the waitUntil block.  
 

  
 
 
 
 

 
 
 

 
 
 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.202500.1571053928000.8104.1581518580827%40Atlassian.JIRA.


[JIRA] (JENKINS-59776) workflow-basic-steps-plugin "waitUntil" should have a quiet mode

2019-11-27 Thread shay.gro...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 shay bc commented on  JENKINS-59776  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-basic-steps-plugin "waitUntil" should have a quiet mode   
 

  
 
 
 
 

 
 can you please accept this merge, it is pretty annoying to see a print every 0.3 seconds, we all count on the console for everything,  
 

  
 
 
 
 

 
 
 

 
 
 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.202500.1571053928000.8005.1574904420232%40Atlassian.JIRA.


[JIRA] (JENKINS-59776) workflow-basic-steps-plugin "waitUntil" should have a quiet mode

2019-10-14 Thread 80ovshze6...@opayq.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 edgar hipp created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59776  
 
 
  workflow-basic-steps-plugin "waitUntil" should have a quiet mode   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 workflow-basic-steps-plugin  
 
 
Created: 
 2019-10-14 11:52  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 edgar hipp  
 

  
 
 
 
 

 
 My code looks like this :   

 

// setup a latch
MAX_CONCURRENT = 4
latch = new java.util.concurrent.LinkedBlockingDeque(MAX_CONCURRENT)
// put a number of items into the queue to allow that number of branches to run
for (int i=0;i"$i")
}

tests.each{ testName, jobDesc ->
runnedTests.push(testName)
stages[testName] = {
def testSlot = null
// this will not allow proceeding until there is something in the queue.
waitUntil {
testSlot = latch.pollFirst();
return testSlot != null;
}
try {
stage("Test: " + testName) {
build job: jobDesc.test, parameters: params, propagate: true
}
}
finally {
latch.offer(testSlot)
}
}
}
parallel(stages)  

 To make it possible to run multiple stages in parallel, with a maximum of jobs runned.   However, this means that I have an enormous amount of logs since the wait between the stages is approximately 20 to 30 minutes in average. I would like to have an option to remove the log completely since it gives no information in my usecase, and it "hides" the real useful logs.   The log is done here : https://github.com/jenkinsci/workflow-basic-steps-plugin/blob/5a406e8cdad581b93cffdfac5275c7a61a54d674/src/main/java/org/jenkinsci/plugins/workflow/steps/WaitForConditionStep.java#L126