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

Jenkins Windows slave service exe requires .NET 2.0 only. Allow it to work with later .NET versions.

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: packaging
    • Labels:
    • Environment:
      Microsoft Windows slaves set to connect as a Windows service
    • Similar Issues:

      Description

      Recent Windows Server OS's come with .NET 4 pre-installed.
      The Jenkins slave Windows service exe requires .NET 2.0 only and will not run with .NET 4.0 or later.
      This should be a simple configuration change in the build of the Windows exe assembly.

        Attachments

          Issue Links

            Activity

            Hide
            cobexer Ing. Christoph Obexer added a comment -

            Yes you need the installation media back in the virtual DVD drive (aka going back to the hyper-visor management, hunting down the DVD, switching it in) and the you need to Google the dism command to manually install because the normal ways won't actually find the .NET sources,...
            But in the end Microsoft wants to see .NET 2.0 die, and newer .net version are available by default and updating the code should be easy? (no?)

            This is simply an UX defect in that it requires more work and makes Jenkins look bad because it requires an ancient version of .NET.

            Show
            cobexer Ing. Christoph Obexer added a comment - Yes you need the installation media back in the virtual DVD drive (aka going back to the hyper-visor management, hunting down the DVD, switching it in) and the you need to Google the dism command to manually install because the normal ways won't actually find the .NET sources,... But in the end Microsoft wants to see .NET 2.0 die, and newer .net version are available by default and updating the code should be easy? (no?) This is simply an UX defect in that it requires more work and makes Jenkins look bad because it requires an ancient version of .NET.
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            Fix on the way

            Show
            kohsuke Kohsuke Kawaguchi added a comment - Fix on the way
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            core/src/main/resources/windows-service/jenkins.exe.config
            http://jenkins-ci.org/commit/jenkins/b08d7c7ee7e7ff589dcc5e5bdd40a014b0213a65
            Log:
            [FIXED JENKINS-21484]

            Don't require ancient .NET 2.0 runtime. .NET 4.0 can host this
            executable, too.

            See https://github.com/kohsuke/winsw#net-runtime-40

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: core/src/main/resources/windows-service/jenkins.exe.config http://jenkins-ci.org/commit/jenkins/b08d7c7ee7e7ff589dcc5e5bdd40a014b0213a65 Log: [FIXED JENKINS-21484] Don't require ancient .NET 2.0 runtime. .NET 4.0 can host this executable, too. See https://github.com/kohsuke/winsw#net-runtime-40
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            core/src/main/resources/windows-service/jenkins.exe.config
            http://jenkins-ci.org/commit/jenkins/9fce1ee933eb5276baff977d562fc8e183f1c8d6
            Log:
            Merge pull request #2124 from kohsuke/jenkins-21484

            [FIXED JENKINS-21484]

            Compare: https://github.com/jenkinsci/jenkins/compare/5a6c1ebb03b1...9fce1ee933eb

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: core/src/main/resources/windows-service/jenkins.exe.config http://jenkins-ci.org/commit/jenkins/9fce1ee933eb5276baff977d562fc8e183f1c8d6 Log: Merge pull request #2124 from kohsuke/jenkins-21484 [FIXED JENKINS-21484] Compare: https://github.com/jenkinsci/jenkins/compare/5a6c1ebb03b1...9fce1ee933eb
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4506
            [FIXED JENKINS-21484] (Revision b08d7c7ee7e7ff589dcc5e5bdd40a014b0213a65)

            Result = UNSTABLE
            kohsuke : b08d7c7ee7e7ff589dcc5e5bdd40a014b0213a65
            Files :

            • core/src/main/resources/windows-service/jenkins.exe.config
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4506 [FIXED JENKINS-21484] (Revision b08d7c7ee7e7ff589dcc5e5bdd40a014b0213a65) Result = UNSTABLE kohsuke : b08d7c7ee7e7ff589dcc5e5bdd40a014b0213a65 Files : core/src/main/resources/windows-service/jenkins.exe.config

              People

              • Assignee:
                Unassigned
                Reporter:
                ricko Richard Otter
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: