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

Implementing custom pipeline task to execute multiple tasks in parallel #993

Closed
cfox-dev opened this issue Nov 10, 2023 · 1 comment
Closed

Comments

@cfox-dev
Copy link

cfox-dev commented Nov 10, 2023

Hello everyone,

I'm trying to investigate if it's feasible implementing a custom pipeline task which executes a couple of tasks (for example downloading multiple pipeline artifacts) in parallel.
If so, I would be honored if I could contribute on this.
For example, let's suppose we have something like that:

- task: ParallelTasksV0
    - powershell: |
        Write-Host 'This is Task 1 executed in parallel.'
        Start-Sleep -Seconds 5
      displayName: Task 1
        
    - powershell: |
        Write-Host 'This is Task 2 executed in parallel.'
        Start-Sleep -Seconds 15
      displayName: Task 2

It would be possible to get a reference of the Task 1 and Task 2 tasks so they can be executed simultaneously?

Thank you in advance for the help and any useful suggestions :)

Tasks

No tasks being tracked yet.
Copy link

This issue has had no activity in 90 days. Please comment if it is not actually stale

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

No branches or pull requests

2 participants