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

Replace @ symbol in workspace suffix path for parallel builds

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core
    • None
    • Confirmed with Jenkins 2.204 with default docker image.
      Agents on CentOS7 and Ubuntu-16.04/18.04

      Hi all,

      When Jenkins runs the same job in parallel, it creates a new folder and add the suffix @2, @3 and so on. This is great and allows us to runs multiple things with different parameter without interrupting or waiting for the previous build (either in multi-branch pipeline or freestyle job).

      However a few compilers or build tools don't appreciate when the path contains the '@' character (like yocto, fern for selinux or more recently proguard). Thereby, some Jenkinsfile have to use a few more line to replace @ symbol from current workspace and then execute everything inside in a second stage.

      As it happened for different tools and must be constraining for other people, I'd like to see if Jenkins can update the suffix from @ symbol to something else?

      Personally I replace @ to __ (double underscores) and it's been working well so far.
      Thank you!

       

            Unassigned Unassigned
            n0dev Nicolas Hess
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: