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

From Gcube Wiki
Jump to: navigation, search
(Git)
(Action Report)
Line 44: Line 44:
 
Here's an example of a tag report:
 
Here's an example of a tag report:
  
[[File:Jenkins-action-report.png|600px]]
+
[[File:Jenkins-action-report.png|400px]]
 
   
 
   
 
''Back to the [[Continuous_Integration_procedure_(2019) | CI guide]].''
 
''Back to the [[Continuous_Integration_procedure_(2019) | CI guide]].''
  
 
[[Category:Continuous_Integration]]
 
[[Category:Continuous_Integration]]

Revision as of 03:49, 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

  • Git Root: The URL of the parent organization that includes all the listed repositories.
  • List of Repositories: A plain text file, one line for each Git repository name to update.
  • Action Root: The root URL of the Bash fragment to execute.
  • Action File: The relative path under the Action Root of a Bash script

Example:

Jenkins action pipeline params.png

Triggers

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

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.