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

Allow setting a custom timeout when unlocking the keychain

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Show
          lacostej 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Show
          sauraus Antek Baranski added a comment - https://github.com/jenkinsci/xcode-plugin/pull/47
          Hide
          lacostej lacostej added a comment -

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

          Show
          lacostej lacostej added a comment - This isn't merged. So not closed for now.
          Hide
          brantone 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

          Show
          brantone 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

            People

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

              Dates

              • Created:
                Updated: