[JIRA] (JENKINS-42473) Cannot get property 'stages' on null object

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


 
 
 
 

 
 
 

 
   
 Liam Newman closed an issue as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Bulk closing resolved issues.   
 

  
 
 
 
 

 
 Jenkins /  JENKINS-42473  
 
 
  Cannot get property 'stages' on null object   
 

  
 
 
 
 

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


[JIRA] (JENKINS-42473) Cannot get property 'stages' on null object

2017-03-06 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy http://jenkins-ci.org/commit/pipeline-model-definition-plugin/bd692a56a92193d4a2fe74423a4435836709fc92 Log: [FIXED JENKINS-42473] Only do parsing if WorkflowScript Deals with cases where there are multiple SourceUnits in the CompilationUnit.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-06 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/Utils.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy http://jenkins-ci.org/commit/pipeline-model-definition-plugin/944d34f7b8269380b43a94f1e63e750c6c33 Log: JENKINS-42473 Use a better way of getting the flow execution Not sure yet if this will actually solve the problem, but it seems superior regardless. I lifted this from ReplayAction.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-06 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/pom.xml pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java pom.xml http://jenkins-ci.org/commit/pipeline-model-definition-plugin/b4bd7fd29639c3bc95902d61bdf60c4e5f4203fb Log: Reproduce JENKINS-42473 failure. Required bumping git plugin version, running in a folder, and making the git plugin a direct dependency rather than a test dependency. phew.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-06 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer updated  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42473  
 
 
  Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Status: 
 In Review Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 Got it! PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/130  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer updated  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42473  
 
 
  Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 Ok, it's not the branch name - it's first run vs later. On first run, Zot.groovy isn't included in the source list. On later runs, it is.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 Especially because I have no idea how the ordering is happening such that when it's a branch named develop it does this, but when it's a branch named feature/something-or-other, it doesn't. Wuh.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 So it's somehow ending up trying to do the reparsing for Zot.groovy after doing it for the Jenkinsfile, which results in a null model. I know how to keep this from happening, but I want to write a test for it before I do the fix...  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 Ok, my initial theory (that the CpsFlowExecution.script was different than it should be) turned out not to be the case, but I am now able to reproduce this, so digging deeper!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer started work on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi edited a comment on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 its a bitbucket org folder.. - file attached , both for failing job and org  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42473  
 
 
  Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
Change By: 
 Dominik Bartholdi  
 
 
Attachment: 
 config-org.xml  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 its a bitbucket org folder.. - file attached  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42473  
 
 
  Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
Change By: 
 Dominik Bartholdi  
 
 
Attachment: 
 config.xml  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42473  
 
 
  Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
Change By: 
 Dominik Bartholdi  
 
 
Comment: 
 its an org folder (bitbucket) - but dev@cloud does not allow the download of config.xml :(  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 its an org folder (bitbucket) - but dev@cloud does not allow the download of config.xml   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 And assuming it's a multibranch setup, the config.xml for the repo would be great. And if it's an org folder (or whatever the equivalent term is for BitBucket), that config.xml too. =)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 I would really love to test it, but you would need to convince your colleagues running DEV@cloud - since they have this new approval process and release cycles its a pain in the a... to get anything updated in a reasonable time...  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 Oh, a couple other questions: this is a multibranch setup? And is there anything distinctive about the configuration for the develop branch? Or its build history? Any chance you could send me the config.xml for the develop branch?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 I was afraid of that. Grr. Ok, time to try all kinds of weird stuff to reproduce this!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 Huh. Then I'd guess that somehow, the CpsFlowExecution we're getting from CpsScript via reflection is giving us the Library loaded scripts contents instead of the Jenkinsfile contents? I think I've got a better way of doing the load now - using the same mechanism for getting the CpsFlowExecution that ReplayAction uses. Any chance you could test with a SNAPSHOT?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 ah and btw. if I remove/comment the Library and import stuff from the top, then it works...  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 yeah, and only in one specific branch in one repo... - is there any kind of cache that could hold on on something for any reason?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 That...is deeply weird. Somehow, the Jenkinsfile is parsing correctly at compilation time, but when we re-parse it for attaching the execution plan to the build (so that Blue Ocean can visualize what's going to run), it's not finding the pipeline block. The relevant code is here - yes, we are using reflection black magic to get the source we're running so we can reparse it, which must be where things are going wrong...  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi commented on  JENKINS-42473  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
 to make the whole thing even more strange, I tried the following: I forked a branch from 'yooture/develop' repository (repo/branch) to yooture/feature/empty_branch_test2 and it works: 

 
Branch indexing
Cloning the remote Git repository
Cloning repository g...@bitbucket.org:yooture/yooture.git
 > git init /home/yooture/hudson_home/workspace/_feature_empty_branch_test2-TR4FWR4O7Y5ZH2REBHUBTGTVWO2ULVEWLS4DS4YN6RJIJTTJZVWQ@script # timeout=10
Fetching upstream changes from g...@bitbucket.org:yooture/yooture.git
 > git --version # timeout=10
using GIT_SSH to set credentials empty PK to force use of cloudbees dev PK
 > git fetch --tags --progress g...@bitbucket.org:yooture/yooture.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url g...@bitbucket.org:yooture/yooture.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url g...@bitbucket.org:yooture/yooture.git # timeout=10
Fetching upstream changes from g...@bitbucket.org:yooture/yooture.git
using GIT_SSH to set credentials empty PK to force use of cloudbees dev PK
 > git fetch --tags --progress g...@bitbucket.org:yooture/yooture.git +refs/heads/feature/empty_branch_test2
Checking out Revision fb7b7daa3ee2d456edd67b7ec00f944edd969526 (feature/empty_branch_test2)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f fb7b7daa3ee2d456edd67b7ec00f944edd969526
First time build. Skipping changelog.
[Bitbucket] Notifying commit build result
Loading library yooture@test
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to g...@bitbucket.org:yooture/yooture-jenkins-pipeline-libraries.git
 > git config remote.origin.url g...@bitbucket.org:yooture/yooture-jenkins-pipeline-libraries.git # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > git --version # timeout=10
 > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
 > git rev-parse test^{commit} # timeout=10
 > git rev-parse origin/test^{commit} # timeout=10
Cloning the remote Git repository
Cloning repository g...@bitbucket.org:yooture/yooture-jenkins-pipeline-libraries.git
 > git init /home/yooture/hudson_home/workspace/_feature_empty_branch_test2-TR4FWR4O7Y5ZH2REBHUBTGTVWO2ULVEWLS4DS4YN6RJIJTTJZVWQ@libs/yooture # timeout=10
Fetching upstream changes from g...@bitbucket.org:yooture/yooture-jenkins-pipeline-libraries.git
 > git --version # timeout=10
 > git fetch --tags --progress g...@bitbucket.org:yooture/yooture-jenkins-pipeline-libraries.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url g...@bitbucket.org:yooture/yooture-jenkins-pipeline-libraries.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url g...@bitbucket.org:yooture/yooture-jenkins-pipeline-libraries.git # timeout=10
Fetching upstream changes from g...@bitbucket.org:yooture/yooture-jenkins-pipeline-libraries.git
 > git fetch --tags --progress g...@bitbucket.org:yooture/yooture-jenkins-pipeline-libraries.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 3ca0c91267dcdad0ca87753530d6ccc72052de6d (test)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3ca0c91267dcdad0ca87753530d6ccc72052de6d
First time build. Skipping changelog.
[Bitbucket] Notifying commit build result
[Pipeline] node

[JIRA] (JENKINS-42473) Cannot get property 'stages' on null object

2017-03-03 Thread d...@fortysix.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominik Bartholdi created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42473  
 
 
  Cannot get property 'stages' on null object   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Andrew Bayer  
 
 
Components: 
 pipeline-model-definition-plugin  
 
 
Created: 
 2017/Mar/03 5:00 PM  
 
 
Environment: 
 pipeline model definition: 1.0.1  Jenkins: 2.32.2.4 (DEV@Cloud by cloudbees)  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Dominik Bartholdi  
 

  
 
 
 
 

 
 I have the following simple pipeline: 

 
@Library("yooture@test")
import org.foo.Zot

pipeline {
agent any
stages {
stage('Example') {
steps {
echo 'Hello World'
}
}
}
post {
always {
echo 'I will always say Hello again!'
}
}
}
 

 I have the same pipeline in two separate repos in a branch called `develop` (copy/paste). In the repo called 'dummy' the job runs fine and the output is like this: 

 
Started by user Dominik Bartholdi
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url g...@bitbucket.org:yooture/dummy.git # timeout=10
Fetching upstream changes from g...@bitbucket.org:yooture/dummy.git
 > git --version # timeout=10
using GIT_SSH to set credentials empty PK to force use of cloudbees dev PK
 > git fetch --tags --progress