You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Luca Toscano (Jira)" <ji...@apache.org> on 2024/01/14 09:20:00 UTC
[jira] [Created] (BIGTOP-4058) Replace Jenkins' Matrix reloaded plugin
Luca Toscano created BIGTOP-4058:
------------------------------------
Summary: Replace Jenkins' Matrix reloaded plugin
Key: BIGTOP-4058
URL: https://issues.apache.org/jira/browse/BIGTOP-4058
Project: Bigtop
Issue Type: Improvement
Reporter: Luca Toscano
We are currently using Matrix reloaded (https://plugins.jenkins.io/matrix-reloaded/) as part of the build/release process to re-run selectively some builds. For example, this is a use case outlined by Masatake:
> We are using "Matrix Reloaded" to rerun the part of failed configurations.
> Since packaging and smoke-tests intermittently fails due to network
> issue and flaky test cases, it is crucial based on the experience of
> release process of Bigtop 3.2.1.
I started https://ci.bigtop.apache.org/job/pipeline-smoke-test/ as attempt to migrate the Smoke Test job to Jenkins Pipelines, that seems the best tool for the job. There are two options:
- Declarative pipelines
- Scripted pipelines
The former is more readable and better for simple jobs, but the latter gives us the possibility to write Groovy scripts. They offer a "matrix" statement, see these articles for more info:
https://www.jenkins.io/blog/2019/11/22/welcome-to-the-matrix/
https://www.jenkins.io/blog/2019/12/02/matrix-building-with-scripted-pipeline/
I took inspiration by the latter to create a prototype for the Smoke tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)