• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • envinject-plugin
    • fedora linux master

      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.

          [JENKINS-14819] WORKSPACE not available in test project

          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

          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

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

              Created:
              Updated:
              Resolved: