[JIRA] (JENKINS-55597) Jenkins JNLP agent disconnects when it fails to delete an old build workspace

2019-03-12 Thread xitr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sean Talts commented on  JENKINS-55597  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins JNLP agent disconnects when it fails to delete an old build workspace   
 

  
 
 
 
 

 
 Same. My workaround so far has just been to log in to the machines and manually rm -rf the entire workspace. Unfortunately I have to do this every time Jenkins is restarted to e.g. install updates.  
 

  
 
 
 
 

 
 
 

 
 
 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-43578) Declarative pipeline: post section doesn't play nice with agent none

2018-09-04 Thread xitr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sean Talts edited a comment on  JENKINS-43578  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Declarative pipeline: post section doesn't play nice with agent none   
 

  
 
 
 
 

 
 Maybe the scripted pipeline version would work, something like {code:java}   node {/* Requires the Docker Pipeline plugin to be installed */docker.image('node:7-alpine').inside {stage('Test')  \ {   sh 'node --version'   }} } {code}    from pressing "Toggle scripted pipeline (Advanced)" on this page:  [ https://jenkins.io/doc/book/pipeline/docker/ ]  
 

  
 
 
 
 

 
 
 

 
 
 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-43578) Declarative pipeline: post section doesn't play nice with agent none

2018-09-04 Thread xitr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sean Talts commented on  JENKINS-43578  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Declarative pipeline: post section doesn't play nice with agent none   
 

  
 
 
 
 

 
 Maybe the scripted pipeline version would work, something like node { /* Requires the Docker Pipeline plugin to be installed */  docker.image('node:7-alpine').inside  { stage('Test') \{ sh 'node --version' }  } }   from pressing "Toggle scripted pipeline (Advanced)" on this page: https://jenkins.io/doc/book/pipeline/docker/  
 

  
 
 
 
 

 
 
 

 
 
 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-43578) Declarative pipeline: post section doesn't play nice with agent none

2018-09-04 Thread xitr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sean Talts commented on  JENKINS-43578  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Declarative pipeline: post section doesn't play nice with agent none   
 

  
 
 
 
 

 
 Kevin,   The `node` function appears to work in the `post` section, so this is what we do for now: https://github.com/stan-dev/math/blob/18755752b563221cadeb39d4ce092c4c226e26ae/Jenkinsfile#L252    
 

  
 
 
 
 

 
 
 

 
 
 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.