Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46528

Entire stream synced to the script workspace "...@script".

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • p4-plugin
    • None

      When using a multibranch pipeline with streams...  The entire stream source is synced into a workspace directory called "xxx@script".  This is a huge waste of time and space as the only file needed is the Jenkinsfile.   I see no way to configure the project to filter the @script workspace.  

      This may be unrelated, but my setup also includes a custom path to the Jenkinsfile, using the "script path" field with the value "components/template/Jenkinsfile". 

          [JENKINS-46528] Entire stream synced to the script workspace "...@script".

          Chris McGuire created issue -
          Karl Wirth made changes -
          Assignee New: Karl Wirth [ p4karl ]
          Karl Wirth made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Karl Wirth added a comment -

          Reproduced - Sept 7 2017.

          Karl Wirth added a comment - Reproduced - Sept 7 2017.
          Paul Allen made changes -
          Assignee Original: Karl Wirth [ p4karl ] New: Paul Allen [ p4paul ]

          Hey p4paul, any chance of an ETA on this? It's a real hassle for us, almost daily. We've got a couple of projects, biggest one is ~6-7gb, running with checked in Jenkinsfile and Multibranch Pipeline (via Helix Streams for CVS source), and my master is filling up problematically often. I'm building on another node, of course. Happy to provide info if needed. Best, Daniel, Resolution Games

          Daniel Hagström added a comment - Hey p4paul , any chance of an ETA on this? It's a real hassle for us, almost daily. We've got a couple of projects, biggest one is ~6-7gb, running with checked in Jenkinsfile and Multibranch Pipeline (via Helix Streams for CVS source), and my master is filling up problematically often. I'm building on another node, of course. Happy to provide info if needed. Best, Daniel, Resolution Games

          Paul Allen added a comment -

          There are a few jobs related to this issue, it relates to JENKINS-45999.  There is a workaround using a p4 client with a narrow view for the @Script and a second p4 client for your code.

          Paul Allen added a comment - There are a few jobs related to this issue, it relates to  JENKINS-45999 .  There is a workaround using a p4 client with a narrow view for the @Script and a second p4 client for your code.

          Paul Allen added a comment -

          Closing issue as duplicate; please follow JENKINS-45999

          Paul Allen added a comment - Closing issue as duplicate; please follow  JENKINS-45999
          Paul Allen made changes -
          Link New: This issue is related to JENKINS-45999 [ JENKINS-45999 ]
          Paul Allen made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: In Progress [ 3 ] New: Closed [ 6 ]

            p4paul Paul Allen
            cmcguire79 Chris McGuire
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: