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

Ability to Copy `slave.jar` to a Windows Instance [jclouds-plugin]

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • jclouds-plugin
    • Windows + SSHd using command prompt or powershell environment (e.g. BitVise SSH server)

    Description

      jclouds-plugin v2.8 provides support for copying slave.jar to a provisioned instance in a *nix style environment. If the SSHd environment is on a Windows slave and is using the command prompt or powershell environment, /tmp is not able to scp and execute the slave.jar file since /tmp is a valid path.

      Adding a mechanism to indicate that the JCloud template is a Windows slave would allow for a different copy and execution path for the slave.jar.

      Attachments

        Activity

          Code changed in jenkins
          User: Fero
          Path:
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsLauncher.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java
          jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate/config.jelly
          jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplateTest.java
          http://jenkins-ci.org/commit/jclouds-plugin/07b49674bea852c0085e05151fa092990b14bbdc
          Log:
          Merge pull request #112 from mikefero/windows-images-2.8

          JENKINS-31655 Copying and executing slave.jar on Windows slave

          Compare: https://github.com/jenkinsci/jclouds-plugin/compare/3daf0c2e3060...07b49674bea8

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fero Path: jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsLauncher.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate/config.jelly jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplateTest.java http://jenkins-ci.org/commit/jclouds-plugin/07b49674bea852c0085e05151fa092990b14bbdc Log: Merge pull request #112 from mikefero/windows-images-2.8 JENKINS-31655 Copying and executing slave.jar on Windows slave Compare: https://github.com/jenkinsci/jclouds-plugin/compare/3daf0c2e3060...07b49674bea8
          mikefero Michael Fero added a comment -

          A new release has been created and can be found on the JClouds Plugin Wiki or can be updated using the normal Jenkins procedures.

          mikefero Michael Fero added a comment - A new release has been created and can be found on the JClouds Plugin Wiki or can be updated using the normal Jenkins procedures.

          People

            mikefero Michael Fero
            mikefero Michael Fero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: