Skip to content

Commit 4512515

Browse files
author
R. Tyler Croy
authored
Merge pull request #80 from trejkaz/patch-1
Try to clarify something in best practices
2 parents 7d0fc74 + b832def commit 4512515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/BEST_PRACTICES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This is a collection of tips, advice, gotchas and other best practices for using
1111
* Within `parallel` blocks, use `node` blocks to make sure you farm out to real nodes for your parallelized work.
1212
* Nested `parallel` blocks can lead to swamping your available executors, as each execution of the first `parallel` block calls multiple executions of the second `parallel` block, and so on. In general, think carefully about your parallelism and your available executors when using `parallel`.
1313
* The [Parallel Test Executor plugin](https://github.com/jenkinsci/parallel-test-executor-plugin) is awesome and can be immensely helpful both for distributing your test execution and for throttling your parallelism, since you define how many "buckets" your tests get divided into.
14-
* Don’t put `stage`s in `parallel` blocks - that just goes *weird*, breaking a lot of logic in the Stage View and elsewhere. Save yourself the pain - don't do it!
14+
* Don’t put `stage`s directly inside `parallel` blocks - that just goes *weird*, breaking a lot of logic in the Stage View and elsewhere. Save yourself the pain - don't do it!
1515

1616
# `Jenkinsfile`s and Multibranch
1717
* Use `checkout scm` to automatically checkout current revision of branch

0 commit comments

Comments
 (0)