Difference between revisions of "Continuous Integration: Actions Jenkins Pipeline"

From Gcube Wiki
Jump to: navigation, search
(Created page with "= gCubeActions Pipeline Project = A pipeline to execute configurable actions over a list of Git repositories: The pipeline project is available at: https://jenkins.d4science....")
 
(Requirements on Jenkins)
Line 24: Line 24:
  
 
== Requirements on Jenkins ==
 
== Requirements on Jenkins ==
 
+
* [https://jenkins.io| Jenkins] ver. 2.164.2 or newer
 +
* [https://plugins.jenkins.io/workflow-aggregator| Pipeline Plugin]
 +
* [https://plugins.jenkins.io/workflow-basic-steps| Pipeline: Basic Steps]
 +
* [https://plugins.jenkins.io/pipeline-maven| Pipeline: Maven]
 +
* [https://plugins.jenkins.io/workflow-scm-step| Pipeline: SCM Step plugin] ver. 2.7 or newer
 +
* [https://plugins.jenkins.io/workflow-cps-global-lib| Pipeline: Shared Groovy Libraries] ver. 2.15 or newer
 +
* User credentials configured on Jenkins. These are needed to set the author of the changes in the repositories. ''git.gcube'' is currently used
  
 
= Jenkins Pipeline Execution =
 
= Jenkins Pipeline Execution =

Revision as of 03:45, 26 January 2021

gCubeActions Pipeline Project

A pipeline to execute configurable actions over a list of Git repositories:

The pipeline project is available at: https://jenkins.d4science.org/job/Pipeline-gCubeActions/


Parameters

Jenkins action pipeline params.png

Triggers

No triggers are defined because the pipeline is expected to be manually launched by the Release Manager:


Git

The pipeline is maintained in a Git repository. This section connects the project to the Git repository.

Jenkins tagging pipeline git.png

Jenkins Pipeline Definition

Git Repository

The definition of the gCube release pipeline is maintained in this Git Repository: ...

Requirements on Jenkins

Jenkins Pipeline Execution

Action Report

If the pipeline execution succeeds, it sends a tag report to the release manager. The report includes the following information for each Git repository tagged:

  • the repo name
  • the SCM url
  • the result (completed or failed)

Here's an example of a tag report:

Jenkins-action-report.png

Back to the CI guide.