• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • customtools-plugin
    • None
    • Jenkins 1.646
      Custom Tools Plugin 0.4.4
      Extended Choice Parameter Plug-In 0.28

      I have defined a `phpenv` custom tool which has a `PHP_VERSION` parameter which allows the requested PHP version to be specified. The installation script for this custom tool is roughly as follows:

      ```
      export PHPENV_ROOT=$(pwd)/phpenv
      export PATH="$PATH:$(pwd)/phpenv/bin"

      if test -d $PHPENV_ROOT; then
      $PHPENV_ROOT/bin/phpenv update
      else
      (curl -L http://git.io/phpenv-installer | bash)
      fi

      phpenv install $PHP_VERSION
      phpenv global $PHP_VERSION
      ```

      It seems, however, that the `$PHP_VERSION` environment variable is not set. Am I correct in thinking that the version parameter is exposed through an environment variable?

          [JENKINS-32682] Unable to use VERSION environment variable

          Joshua Spence created issue -
          Joshua Spence made changes -
          Environment New: Jenkins 1.646
          Custom Tools Plugin 0.4.4
          Extended Choice Parameter Plug-In 0.28
          Joshua Spence made changes -
          Attachment New: phpenv.png [ 31716 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168341 ] New: JNJira + In-Review [ 183074 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]

            Unassigned Unassigned
            joshuaspence Joshua Spence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: