[JIRA] (JENKINS-61066) Schedule Jenkins job using Jenkins Rest API

2020-02-19 Thread ian.willia...@telus.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ian Williams edited a comment on  JENKINS-61066  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Schedule Jenkins job using Jenkins Rest API   
 

  
 
 
 
 

 
 I was just investigating a separate issue regarding plugins and came across: [naginator  pluginhttps  plugin|https ://plugins.jenkins.io/naginator].{quote}This plugin allows you to automatically reschedule a build after a build failure.This can be useful in several cases, including:The build is dependent upon external resources, that were temporarily unavailable (DB down, network down, website down, etc).{quote}I wonder if that is the same expected behaviour? I will be investigating if it suits my needs.  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-61066) Schedule Jenkins job using Jenkins Rest API

2020-02-19 Thread ian.willia...@telus.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ian Williams commented on  JENKINS-61066  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Schedule Jenkins job using Jenkins Rest API   
 

  
 
 
 
 

 
 I was just investigating a separate issue regarding plugins and came across: [naginator pluginhttps://plugins.jenkins.io/naginator]. 
 
This plugin allows you to automatically reschedule a build after a build failure. 
This can be useful in several cases, including: The build is dependent upon external resources, that were temporarily unavailable (DB down, network down, website down, etc).
 I wonder if that is the same expected behaviour? I will be investigating if it suits my needs.  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-61066) Schedule Jenkins job using Jenkins Rest API

2020-02-18 Thread ian.willia...@telus.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ian Williams commented on  JENKINS-61066  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Schedule Jenkins job using Jenkins Rest API   
 

  
 
 
 
 

 
 One other scenario .. we have scheduled job that runs but depends on an independent system's maintenance activities to have completed. On the rare occasion that does not complete in time, would be nice to.have a post-build action to retry after an interval. Right now, we must manually trigger when discovered.  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-61066) Schedule Jenkins job using Jenkins Rest API

2020-02-17 Thread prasanna.rengarajan.exter...@telefonica.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Prasanna Rengarajan commented on  JENKINS-61066  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Schedule Jenkins job using Jenkins Rest API   
 

  
 
 
 
 

 
 Hi Gavin Mogan, From External Application, we want to update the cron entry or override the schedule timing of a jenkins job. We are trying to create a jenkins job (called Job A) which will update or override the schedule timing of another Jenkins Job(called Job B)  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-61066) Schedule Jenkins job using Jenkins Rest API

2020-02-15 Thread ian.willia...@telus.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ian Williams commented on  JENKINS-61066  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Schedule Jenkins job using Jenkins Rest API   
 

  
 
 
 
 

 
 (not the OP, but my interpretation; may be misinterpreting something) Build periodically/Schedule Job (ie: cron) works fine as an ongoing solution, if you wan to repeatedly run the job on a schedule. At the other end of the spectrum you have "Build Now". We have a number of scenarios where we want to build not now, but later today.  It's essentially the difference between using UNIX cron and at, or running a command immediately. It is not convenient to change the configuration of the job so it can run later, then undo the change once run. Also, unless you have Job Configure, that option is not available to you. It should be available to users who have only Job | Build.  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-61066) Schedule Jenkins job using Jenkins Rest API

2020-02-15 Thread jenk...@gavinmogan.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gavin Mogan updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61066  
 
 
  Schedule Jenkins job using Jenkins Rest API   
 

  
 
 
 
 

 
Change By: 
 Gavin Mogan  
 
 
Component/s: 
 _unsorted  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-61066) Schedule Jenkins job using Jenkins Rest API

2020-02-15 Thread jenk...@gavinmogan.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gavin Mogan commented on  JENKINS-61066  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Schedule Jenkins job using Jenkins Rest API   
 

  
 
 
 
 

 
 Can you update this ticket with a use case. "Because I want it" is a bad reason to add new features.   Can you use the cron trigger? https://jenkins.io/doc/book/pipeline/syntax/#triggers   When you say "holds the java thread" what do you mean? that it takes up an executor/node on the sidebar?  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-61066) Schedule Jenkins job using Jenkins Rest API

2020-02-15 Thread jenk...@gavinmogan.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gavin Mogan updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61066  
 
 
  Schedule Jenkins job using Jenkins Rest API   
 

  
 
 
 
 

 
Change By: 
 Gavin Mogan  
 
 
Issue Type: 
 Improvement New Feature  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-61066) Schedule Jenkins job using Jenkins Rest API

2020-02-12 Thread prasanna.rengarajan.exter...@telefonica.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Prasanna Rengarajan created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61066  
 
 
  Schedule Jenkins job using Jenkins Rest API   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Martin Spielmann  
 
 
Components: 
 _unsorted, schedule-build-plugin  
 
 
Created: 
 2020-02-12 11:19  
 
 
Labels: 
 jenkins plugin  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Prasanna Rengarajan  
 

  
 
 
 
 

 
 I have a Jenkins job which is scheduled for a specific time. I want to modify that timing programmatically. I tried to modify the build by installing Schedule Build plugin and modify it using http://jenkins_url/job/jobname/build?delay=3344sec. But this will put the job in quiet period which holds the java thread. I'm looking to modify the Schedule entry without putting it to quiet period.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment