• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • build-flow-plugin
    • None
    • Jenkins ver. 1.560

      The following simple statement always prints null.

      out.println build.workspace

      This began happening to existing build-flow jobs when recently upgrading to the build-flow plugin to 0.11, and is reproducible when creating new build-flow jobs as well. This functionality is important when the build-flow job is creating artifacts.

          [JENKINS-22725] build.workspace always null

          Dylan Meissner created issue -

          Damien Nozay added a comment -

          Damien Nozay added a comment - There was a commit in version 0.11 that removed the workspace. https://github.com/jenkinsci/build-flow-plugin/commit/444097d65ecb97c92005b3acd63db8e03bdeb6a3 You can get the 0.10 version of the plugin here: http://updates.jenkins-ci.org/download/plugins/build-flow-plugin/0.10/build-flow-plugin.hpi

          I see this was intentional. While I think it's a sad decision to remove this useful functionality, the remaining issue is that the plugin documentation still shows this as a feature in one of its examples.

          Dylan Meissner added a comment - I see this was intentional. While I think it's a sad decision to remove this useful functionality, the remaining issue is that the plugin documentation still shows this as a feature in one of its examples.
          Dylan Meissner made changes -
          Link New: This issue is related to JENKINS-20843 [ JENKINS-20843 ]

          Dylan Meissner added a comment - - edited

          Added a screenshot taken from the build-flow plugin page referencing a feature that was yanked between 0.10 and 0.11.

          Dylan Meissner added a comment - - edited Added a screenshot taken from the build-flow plugin page referencing a feature that was yanked between 0.10 and 0.11.
          Dylan Meissner made changes -
          Attachment New: flyweight.png [ 25761 ]

          Daniel Beck added a comment -

          This is a documented, deliberate change that has been announced in March 2013 on the mailing list, and discussed to death since.

          Note that Nicolas, the plugin maintainer so far, also wrote he gave up on the plugin. Given that there will probably not be a lot of activity in the near future, just downgrade the plugin to a version that still had a workspace (and maybe plan for a replacement).

          Daniel Beck added a comment - This is a documented, deliberate change that has been announced in March 2013 on the mailing list, and discussed to death since. Note that Nicolas, the plugin maintainer so far, also wrote he gave up on the plugin . Given that there will probably not be a lot of activity in the near future, just downgrade the plugin to a version that still had a workspace (and maybe plan for a replacement).
          Daniel Beck made changes -
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Daniel Beck made changes -
          Issue Type Original: New Feature [ 2 ] New: Bug [ 1 ]
          Daniel Beck made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            ndeloof Nicolas De Loof
            dylanmei Dylan Meissner
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: