Skip to content

Commit a2dfc2d

Browse files
authored
Merge pull request #265 from guitarrapc/jenkins
docs: update jenkins info
2 parents 40ea08f + 08f678f commit a2dfc2d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ A quick comparison table of key features across CI platforms:
176176
| Trigger Push & PR | ✔️ || ✔️ | ⚠️ Separate |
177177
| Reusable workflows | ✔️ Multiple | ✔️ | ✔️ | ⚠️ Complex |
178178
| Path filter | ✔️ Built-in || ✔️ Built-in ||
179-
| Concurrency control | ✔️ Built-in | ✔️ | ✔️ Stage-level | |
180-
| Re-run failed jobs | ✔️ | ✔️ | ✔️ Single stage | ✔️ |
179+
| Concurrency control | ✔️ Built-in | ✔️ | ✔️ Stage-level | ⚠️ Built-in |
180+
| Re-run failed jobs | ✔️ | ✔️ | ✔️ Single stage | ⚠️ Job-level |
181181
| **Security** |
182182
| Fork PR handling | ✔️ Approved | ⚠️ Limited | ✔️ ||
183183
| Secrets management | ✔️ 3 scopes | ✔️ Context | ✔️ | ✔️ |
@@ -297,28 +297,28 @@ Filter workflow execution based on changed file paths:
297297
- ✔️ **GitHub Actions**: Built-in [concurrency control](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency) with `cancel-in-progress`. Alternative: community actions ([workflow-run-cleanup-action](https://github.com/marketplace/actions/workflow-run-cleanup-action), etc.)
298298
- ✔️ **CircleCI**: Built-in redundant build cancellation
299299
- ✔️ **Azure Pipeline**: [Stage-level concurrency](https://learn.microsoft.com/en-us/azure/devops/release-notes/features-timeline) (available since 2024 Q3)
300-
- **Jenkins**: No built-in support; requires manual implementation
300+
- ⚠️ **Jenkins**: Built-in [`disableConcurrentBuilds()`](https://www.jenkins.io/doc/book/pipeline/syntax/#options) option in Declarative Pipeline. Can abort previous builds with `disableConcurrentBuilds(abortPrevious: true)`
301301

302302
### Rerun failed workflow
303303

304304
- ✔️ **GitHub Actions**: Re-run `whole workflow`, `single job`, or `failed jobs only`
305305
- ✔️ **CircleCI**: Re-run `whole workflow` or `failed jobs only`. Also supports [automatic step reruns](https://circleci.com/docs/configuration-reference/#automatic-step-reruns) with `max_auto_reruns` and configurable delays
306306
- ✔️ **Azure Pipeline**: [Re-run single stage](https://learn.microsoft.com/en-us/azure/devops/release-notes/features-timeline) (available since 2024 Q1), manual stage queuing supported
307-
- **Jenkins**: Re-run `Job` or `Stage` (may be unstable)
307+
- **Jenkins**: Re-run `whole job` (stable). Stage-level restart available with [`preserveStashes`](https://www.jenkins.io/doc/book/pipeline/syntax/#options) option (experimental feature)
308308

309309
### Skip CI and commit message
310310

311311
- ✔️ **GitHub Actions**: Skip keywords: `[skip ci]`, `[ci skip]`, `[no ci]`, `[skip actions]`, `[actions skip]`
312312
- ✔️ **CircleCI**: Skip keywords: `[skip ci]`, `[ci skip]`
313313
- ✔️ **Azure Pipeline**: Skip keywords: `***NO_CI***`, `[skip ci]`, `[ci skip]`, [and more](https://github.com/Microsoft/azure-pipelines-agent/issues/858#issuecomment-475768046)
314-
- **Jenkins**: No built-in support; requires plugins like [SCM Skip](https://plugins.jenkins.io/scmskip/)
314+
- ⚠️ **Jenkins**: Requires [SCM Skip plugin](https://plugins.jenkins.io/scmskip/). Default pattern: `.*\[ci skip\].*` (supports both freestyle and pipeline jobs with customizable regex)
315315

316316
### Store Build Artifacts
317317

318318
- ✔️ **GitHub Actions**: [actions/upload-artifact](https://github.com/actions/upload-artifact) / [download-artifact](https://github.com/actions/download-artifact). Configurable retention period.
319319
- ⚠️ **CircleCI**: [`store_artifacts`](https://circleci.com/docs/artifacts/) step. Download requires API call. No retention period.
320320
- ✔️ **Azure Pipeline**: [`PublishPipelineArtifact`](https://learn.microsoft.com/en-us/azure/devops/pipelines/artifacts/pipeline-artifacts?view=azure-devops&tabs=yaml) / `DownloadPipelineArtifact` tasks. No retention period.
321-
- ⚠️ **Jenkins**: [`archiveArtifacts`](https://www.jenkins.io/doc/pipeline/steps/core/#archiveartifacts-archive-the-artifacts) step. Download requires API call. No retention period.
321+
- ⚠️ **Jenkins**: [`archiveArtifacts`](https://www.jenkins.io/doc/pipeline/steps/core/#archiveartifacts-archive-the-artifacts) step with [`buildDiscarder`](https://www.jenkins.io/doc/book/pipeline/syntax/#options) for retention policy. Download via Jenkins UI or API.
322322

323323
---
324324

0 commit comments

Comments
 (0)