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

WORKSPACE not available in test project

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I set up a very simple job, with the only change from the default free-style job being checking the "Prepare environment for the run" and adding one line to the properties content of "QMAKEFEATURES=$WORKSPACE".

      When I run the build, I get the messages:
      [EnvInject] - Injecting as environment variables the properties content
      QMAKEFEATURES=$WORKSPACE

      [EnvInject] - Variables injected successfully.
      [EnvInject] - Injecting contributions.
      [EnvInject] - Unset unresolved 'QMAKEFEATURES' variable.

        Attachments

          Activity

          Hide
          gbois Gregory Boissinot added a comment -

          In the prepare environment section, WORKSPACE variable is unavailable because it is not created.
          You have to use the section
          Build environment > Inject environment variables to the build process

          Show
          gbois Gregory Boissinot added a comment - In the prepare environment section, WORKSPACE variable is unavailable because it is not created. You have to use the section Build environment > Inject environment variables to the build process

            People

            Assignee:
            gbois Gregory Boissinot
            Reporter:
            bsipos Brian Sipos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: