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

SBT plugin does not support paths to sbt-launcher.jar to be configured per node

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • sbt-plugin
    • None
    • Mixed environment. Jenkins Master on windows server, and nodes running both windows and Linux

      The configuration of "sbt launcher jars" paths in the general jenkins configuration page (i.e. globally) should be overridable in "Tool location" for each node (like JDK, Git & Hg paths).

      If running in a mixed environment with both linux and windows slaves, the path to sbt (like the other tools) will typically be very different on the two platforms (e.g. c:\sbt\sbt-launcher.jar vs. /usr/local/bin/sbt)

          [JENKINS-15824] SBT plugin does not support paths to sbt-launcher.jar to be configured per node

          Yong Guo added a comment -

          I need this feature too.

          Yong Guo added a comment - I need this feature too.

          Yong Guo added a comment -

          i've made some changes to implement this feature. i will create a pull request on github later.

          Yong Guo added a comment - i've made some changes to implement this feature. i will create a pull request on github later.

          Code changed in jenkins
          User: wolfg
          Path:
          pom.xml
          src/main/java/org/jvnet/hudson/plugins/SbtPluginBuilder.java
          src/main/resources/org/jvnet/hudson/plugins/SbtPluginBuilder/SbtInstallation/config.jelly
          src/main/resources/org/jvnet/hudson/plugins/SbtPluginBuilder/config.jelly
          src/main/resources/org/jvnet/hudson/plugins/SbtPluginBuilder/global.jelly
          src/main/resources/org/jvnet/hudson/plugins/SbtPluginBuilder/global.out.xml
          http://jenkins-ci.org/commit/sbt-plugin/3a20b25596528cd7e81e9871782ef8d3f7e0af85
          Log:
          Merge pull request #7 from wolfg1969/feature/sbt_installation

          added ToolInstallation support according JENKINS-15824(https://issues.jenkins-ci.org/browse/JENKINS-15824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel)

          Compare: https://github.com/jenkinsci/sbt-plugin/compare/07821dbf91f7...3a20b2559652

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: wolfg Path: pom.xml src/main/java/org/jvnet/hudson/plugins/SbtPluginBuilder.java src/main/resources/org/jvnet/hudson/plugins/SbtPluginBuilder/SbtInstallation/config.jelly src/main/resources/org/jvnet/hudson/plugins/SbtPluginBuilder/config.jelly src/main/resources/org/jvnet/hudson/plugins/SbtPluginBuilder/global.jelly src/main/resources/org/jvnet/hudson/plugins/SbtPluginBuilder/global.out.xml http://jenkins-ci.org/commit/sbt-plugin/3a20b25596528cd7e81e9871782ef8d3f7e0af85 Log: Merge pull request #7 from wolfg1969/feature/sbt_installation added ToolInstallation support according JENKINS-15824 ( https://issues.jenkins-ci.org/browse/JENKINS-15824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ) Compare: https://github.com/jenkinsci/sbt-plugin/compare/07821dbf91f7...3a20b2559652

          This works with a manually built and installed SBT plugin directly from githhub. Can we please get a new release?

          Hack Kampbjørn added a comment - This works with a manually built and installed SBT plugin directly from githhub. Can we please get a new release?

            uzilan uzilan
            jkrag Jan Krag
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: