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

Allow setting a custom timeout when unlocking the keychain

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • xcode-plugin
    • Mac Mini - OSX 10.7.5

      I have large project that takes a long to compile after a clean or when the workspace is wiped. Since it takes so long the keychain is locked by time the codesign step is reached so I will always have a failed build after the workspace is cleaned and need to build it a second time. The keychain has an option to set the timeout using set-keychain-settings. The options are to lock the keychain when the system sleeps or after a specified interval. It would be nice to be able to select one of these values and customize a timeout on the unlock keychain step.

          [JENKINS-17184] Allow setting a custom timeout when unlocking the keychain

          lacostej added a comment -

          lacostej added a comment - This doesn't sound to hard to add. Would you mind trying ? https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/security.1.html https://github.com/jenkinsci/xcode-plugin/blob/master/src/main/java/au/com/rayh/XCodeBuilder.java#L363 Try to support both -u -l and -t arguments

          Code changed in jenkins
          User: Jerome Lacoste
          Path:
          src/main/java/au/com/rayh/XCodeBuilder.java
          http://jenkins-ci.org/commit/xcode-plugin/5b2a452d965abfe3660092cda378f0dc2b835d41
          Log:
          JENKINS-15939, JENKINS-17184 display keychain timeout information

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jerome Lacoste Path: src/main/java/au/com/rayh/XCodeBuilder.java http://jenkins-ci.org/commit/xcode-plugin/5b2a452d965abfe3660092cda378f0dc2b835d41 Log: JENKINS-15939 , JENKINS-17184 display keychain timeout information

          Antek Baranski added a comment - https://github.com/jenkinsci/xcode-plugin/pull/47

          lacostej added a comment -

          This isn't merged. So not closed for now.

          lacostej added a comment - This isn't merged. So not closed for now.

          Brantone added a comment -

          We've been using this PR for almost 2 years now with no issues ... is that good enough for testing so it can get merge?
          Although now I see https://github.com/jenkinsci/xcode-plugin/pull/47 has merge conflicts

          Brantone added a comment - We've been using this PR for almost 2 years now with no issues ... is that good enough for testing so it can get merge? Although now I see https://github.com/jenkinsci/xcode-plugin/pull/47 has merge conflicts

            sauraus Antek Baranski
            josephhumphreyjr Joseph Humphrey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: