Pipeline to manage a complete gCube release.
https://wiki.gcube-system.org/gcube/Continuous_Integration:_Releases_Jenkins_Pipeline
Roberto Cirillo
e63201c316
https://support.d4science.org/issues/17560 |
||
---|---|---|
examples | ||
releases | ||
Jenkinsfile | ||
README.md |
README.md
gCubeRelease
Jenkins Pipeline script to manage a complete gCube release.
Requirements
-
Jenkins ver. 2.164.2 or newer
-
Kubernetes (for the YAML parser)
-
NodeLabelParameter (The node and label parameter plugin allows to dynamically select the node on which a job should be executed.)
-
Jenkins configured with a JDK global tool named 'OpenJDK 8'
-
Jenkins configured with a Maven global tool named 'Maven 3.6.2'
-
One or more Jenkins agents labeled as 'pipeline-agent'
Reference documentation
Expected parameters
Parameters from the Jenkins pipeline project:
- Type: a choice of 'SNAPSHOT-DRY-RUN', 'SNAPSHOT', 'RELEASE-DRY-RUN', 'RELEASE-STAGING', 'RELEASE'
- gCube_release_version: the gcube version to build (must match the YAML file in /releases)