The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Concurrent Step

acquireSemaphore: Wait until the latch has counted down to zero.

  • semaphore
    • Type: class com.github.topikachu.jenkins.concurrent.semaphore.SemaphoreRef
  • permit (optional)
    • Type: int
  • timeout (optional)
    • Type: long
  • unit (optional)
    • Values: NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS

awaitBarrier: Waits until all parties have invoked await on this barrier.

  • barrier
    • Type: class com.github.topikachu.jenkins.concurrent.barrier.BarrierRef
  • timeout (optional)
    • Type: long
  • unit (optional)
    • Values: NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS

awaitCondition: Causes the current thread to wait until it is signalled or interrupted.

  • condition
    • Type: class com.github.topikachu.jenkins.concurrent.condition.LockAndCondition
  • timeout (optional)
    • Type: long
  • unit (optional)
    • Values: NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS

awaitLatch: Wait until the latch has counted down to zero.

  • latch
    • Type: class com.github.topikachu.jenkins.concurrent.latch.LatchRef
  • timeout (optional)
    • Type: long
  • unit (optional)
    • Values: NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS

countDownLatch: Decrements the count of the latch.

  • latch
    • Type: class com.github.topikachu.jenkins.concurrent.latch.LatchRef

createBarrier: Create a Cyclic Barrier.

  • count (optional)
    • Type: int

createCondition: Create a lock.

    createLatch: Create a count down latch.

    • count (optional)
      • Type: int

    createSemaphore: Create a semaphore.

    • permit (optional)
      • Type: int

    releaseSemaphore: Release the semaphore.

    • semaphore
      • Type: class com.github.topikachu.jenkins.concurrent.semaphore.SemaphoreRef

    signalAll: Notify all wa.

    • condition
      • Type: class com.github.topikachu.jenkins.concurrent.condition.LockAndCondition

    Was this page helpful?

    Please submit your feedback about this page through this quick form.

    Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

        


    See existing feedback here.