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

Jenkins Pipeline parallel jobs #27

Open
bilke opened this issue Apr 27, 2018 · 0 comments
Open

Jenkins Pipeline parallel jobs #27

bilke opened this issue Apr 27, 2018 · 0 comments

Comments

@bilke
Copy link

bilke commented Apr 27, 2018

First: awesome plugin!

But unfortunately I am running into a problem:

I have a Jenkins pipeline job with multiple parallel subjobs. They all should use the same ACI container template and consequently spin up multiple container instances (groups?) so that they can run in parallel with each of them having their own reserved cpu and memory. See this Jenkinsfile example. But the following happens:

  • the parallel subjobs request an ACI slave
  • one such ACI (group?) is created in Azure
  • both jobs wait for the container to come online
  • the first subjob gets the single executor on that slave once the container is started
  • once the container is started the first subjob builds
  • second subjob requests another slave
  • second subjob waits for the new container to come online
  • once the second container is started the second subjob builds

Between the start of the two containers around 3 minutes pass but they should be started at the same time ideally.

To solve this there should be the option to create a dedicated slave for each request. Is this possible?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant