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 : int (optional)
  • timeout : long (optional)
  • 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 : long (optional)
  • 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 : long (optional)
  • 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 : long (optional)
  • 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 : int (optional)

createCondition: Create a lock.

    createLatch: Create a count down latch.

    • count : int (optional)

    createSemaphore: Create a semaphore.

    • permit : int (optional)

    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.