generated from gCubeCI/Pipeline-Docker-Template
fix comments
This commit is contained in:
parent
d4f3cc324f
commit
a9c9415009
|
@ -1,8 +1,8 @@
|
|||
// REMEMBER TO FILL THE environment section with your values.
|
||||
// the following filed should be filled: imagename, git_url
|
||||
// REMEMBER to put your Dockerfile in the root folder of your project
|
||||
// The related jenkinsjob template is here:
|
||||
|
||||
/**
|
||||
* Given a git repository and a valid branch, a maven build is performed using jdk8
|
||||
*
|
||||
* Roberto Cirillo (ISTI-CNR)
|
||||
*/
|
||||
|
||||
pipeline {
|
||||
|
||||
|
@ -17,8 +17,6 @@ pipeline {
|
|||
JAVA_HOME='/usr/lib/jvm/java-8-openjdk-amd64'
|
||||
GIT_URL= "${params.GIT_URL}"
|
||||
GIT_BRANCH="${params.GIT_BRANCH.split('/').size() > 1 ? params.GIT_BRANCH.split('/')[1..-1].join('/') : params.GIT_BRANCH}"
|
||||
// GIT_BRANCH= "${params.GIT_BRANCH.split("/")[1]}"
|
||||
// GIT_BRANCH= "${params.GIT_BRANCH}"
|
||||
gcube_settings="${params.gcube_settings}"
|
||||
local_repo="${params.local_repo}"
|
||||
exe_label="${params.exec_label}"
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# Pipeline gCubeBuild
|
||||
|
||||
Given a git repository and a valid branch, a maven build is performed using jdk8.
|
||||
For the moment a predefined goal is set inside the pipeline: "clean deploy"
|
||||
Predefined maven goal: "clean deploy". It's possible to add further build options by input parameter
|
||||
|
||||
|
||||
## USAGE TIPS:
|
||||
|
||||
It can be added to a jenkinsjob or invoked manually
|
||||
|
||||
### Expected parameters
|
||||
### Expected parameters (mandatory)
|
||||
|
||||
GIT_URL url of the project to build;
|
||||
|
||||
|
|
Loading…
Reference in New Issue