• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • None
    • Windows 7 (Jenkins is not a service!!!)
      jenkins 2.8, + latest pipeline plugins updated at 10.06.2016
      "Lockable Resources plugin" - 1.9

      simplest script. "pipeline in code"

      println '#' * 80

      stage 'scm - simulate delay'
      lock (resource: 'clearcase-scm') {

      println("1st: ${System.currentTimeMillis()}")
      //sleep(60000)
      //Thread.sleep(60000)
      //input 'Ready to go?'
      println("2nd: ${System.currentTimeMillis()}")
      }
      println "${env.getEnvironment()}"

      println '#' * 80

      output + stack -> trace output_stack_trace.txt
      Resource is still locked - >2016-06-10 18_04_17-Lockable Resources [Jenkins].png
      try to unlock -> try_to_unlock_resource_stck_trace.txt

            kernalex Alexander Kern
            kernalex Alexander Kern
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: