[JIRA] (JENKINS-59279) Required context class hudson.FilePath is missing

2019-10-29 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl commented on  JENKINS-59279  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Required context class hudson.FilePath is missing   
 

  
 
 
 
 

 
 If there is no workspace in the context at the time the plugin is called you will get this error. I am not familiar with all the internals of declarative pipeline to say why it would work sometimes and not others, but that is what is causing the issue. A workspace has to be available.  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-59279) Required context class hudson.FilePath is missing

2019-10-29 Thread fxtho...@dxomark.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 François-Xavier Thomas commented on  JENKINS-59279  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Required context class hudson.FilePath is missing   
 

  
 
 
 
 

 
 Not sure if related, but we have the same intermittent build failures with the same FilePath error on 2.164.1 with the following block (using the Bitbucket plugin): 

 

post {
  always {
script {
  notifyBitbucket()
}
  }
}
 

 Log: jenkins_fail_notifyBitbucket.log  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-59279) Required context class hudson.FilePath is missing

2019-10-29 Thread fxtho...@dxomark.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 François-Xavier Thomas updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59279  
 
 
  Required context class hudson.FilePath is missing   
 

  
 
 
 
 

 
Change By: 
 François-Xavier Thomas  
 
 
Attachment: 
 jenkins_fail_notifyBitbucket.log  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-59279) Required context class hudson.FilePath is missing

2019-10-09 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59279  
 
 
  Required context class hudson.FilePath is missing   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Component/s: 
 pipeline  
 
 
Component/s: 
 core  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-59279) Required context class hudson.FilePath is missing

2019-09-13 Thread krister.j...@itab.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Krister Jarl commented on  JENKINS-59279  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Required context class hudson.FilePath is missing   
 

  
 
 
 
 

 
 No. Our pipeline looks something like this: 

 

pipeline {
  agent {
docker {...}
  }
  stages {...}
  post {
    always {
  deleteDir()
    }
  }
}
 

  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-59279) Required context class hudson.FilePath is missing

2019-09-12 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl commented on  JENKINS-59279  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Required context class hudson.FilePath is missing   
 

  
 
 
 
 

 
 Are you calling deleteDir inside of a node 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.201810.1568028241000.1973.1568290800119%40Atlassian.JIRA.


[JIRA] (JENKINS-59279) Required context class hudson.FilePath is missing

2019-09-09 Thread krister.j...@itab.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Krister Jarl created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59279  
 
 
  Required context class hudson.FilePath is missing   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 installed_plugins.txt, jenkins_fail.txt, system_properties.txt  
 
 
Components: 
 core  
 
 
Created: 
 2019-09-09 11:24  
 
 
Environment: 
 Jenkins version: 2.164.3, Ubuntu 16.04.4 LTS, builds are running in Docker (versions 19.03.1, 17.12.0-ce and 18.09.7)  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Krister Jarl  
 

  
 
 
 
 

 
 Pipeline execution fails intermittently with the attached error. We have multiple builds running on multiple nodes. Some builds seem to always fail on certain nodes, while other builds seems to always work on the same nodes. I can't really narrow it down to any specific nodes or builds. To me this would not indicate an error in the actual pipeline scripts, since they do work on certain nodes.