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

Crash of TFS plugin when all jobs use SSO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • tfs-plugin
    • None
    • Windows 7

      In all jobs using the TFS pulgin to get their sources, do not input any credential (and so use the application server credentials, a.k.a. SSO).
      At startup you get an UnsatisifedLink exception because CredentialsUtils.supportsDefaultCredentials(), that use native libraries, is called before the system property locating the native libraries directory is set.

      In the constructor of hudson.plugins.tfs.model.Server, the ensureNativeLibrariesConfigured() method must be called before the call to CredentialsUtils.supportsDefaultCredentials().

      Current workaround: set the system property (com.microsoft.tfs.jni.native.base-directory) by hand in the application server through the JVM startup command-line.

            zgr Zaël Graignic
            zgr Zaël Graignic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: