Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waitForCIMessage not waiting at all #231

Open
AsherShoshan opened this issue Dec 21, 2021 · 0 comments
Open

waitForCIMessage not waiting at all #231

AsherShoshan opened this issue Dec 21, 2021 · 0 comments
Labels

Comments

@AsherShoshan
Copy link

Version report

Jenkins and plugins versions report:

Version: 1.1.25

  • What Operating System are you using (both controller, and any agents involved in the problem)?

rhel8.3

Reproduction steps

  • write a pipeline as such:

  • stages {
    stage('receive Message') {
    steps {
    script {
    def msgContent = waitForCIMessage
    providerName: params.PROVIDERNAME,
    selector: params.MESSAGESELECTOR, timeout: 300
    }
    }
    }
    }

  • Run it (i.e build with parameters)

Results

Expected result:
The job should wait for 300 minutes... or until a message arrives the queue

  • Job ends immediately with timeout of 0 (zero) seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant