Uploaded image for project: 'Bamboo Artifactory Plug-in'
  1. Bamboo Artifactory Plug-in
  2. BAP-213

'Build JDK' is not transformed to JAVA_HOME varaiable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Not a Bug
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.6
    • Labels:
      None

      Description

      The plugin lets you set a 'Build JDK' and it says just below that 'the JAVA_HOME will be added as an environment variable'. Yet, i found out that without explicitly setting the JAVA_HOME in the Environment variables field the following error message is displayed:

      10-Jul-2014 15:01:08	ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
      10-Jul-2014 15:01:08	
      10-Jul-2014 15:01:08	Please set the JAVA_HOME variable in your environment to match the
      10-Jul-2014 15:01:08	location of your Java installation.
      10-Jul-2014 15:01:08	Failing task since return code of [gradlew.bat -b build.gradle -Dbuild_number=112 build] was 1 while expected 0
      10-Jul-2014 15:01:08	Finished task 'Gradle Build using Artifactory'
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eyalbe Eyal Ben Moshe (Inactive)
                Reporter:
                matydavid maty david
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: