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

Global Build timeout does not work for Multibranch Workflows #115

Open
jyepesr1 opened this issue Apr 17, 2023 · 2 comments
Open

Global Build timeout does not work for Multibranch Workflows #115

jyepesr1 opened this issue Apr 17, 2023 · 2 comments
Labels

Comments

@jyepesr1
Copy link

Jenkins and plugins versions report

Environment
Result 
  Jenkins: 2.375.4
  OS: Linux - 5.4.228-132.418.amzn2.x86_64
  Java: 17.0.6 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
  ---
  build-timeout:1.28

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

5.4.228-132.418.amzn2.x86_64

Reproduction steps

  1. We have set the global time out to Absolute 3 minutes (the minimum available)
  2. We ran a multibranch workflow

Expected Results

Multibranch workflow should be aborted after 3 mins

Actual Results

The job is never aborted

Anything else?

I can confirm the timeout works on free style jobs, but not in multibranch

@jyepesr1 jyepesr1 added the bug label Apr 17, 2023
@jyepesr1
Copy link
Author

or Do you consider a workflow and pipeline the same? so multibranch workflow won't also work like the pipeline job?

@smartYSC
Copy link

We also observe that the global timeout does not work in multibranch pipelines.

timeout() {} in the Jenkinsfile works. It would still be nice to have a global timeout for all pipelines that do not configure it specifically.

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

2 participants