generated from gCubeCI/Pipeline-Docker-Template
Compare commits
No commits in common. "82267f9ffd14243988f88b84b225f89a196ae66b" and "a9c9415009e97c8df8f0345b6170371bc473f159" have entirely different histories.
82267f9ffd
...
a9c9415009
|
@ -1 +0,0 @@
|
|||
.idea/
|
|
@ -39,10 +39,7 @@ pipeline {
|
|||
description: 'Run on all nodes matching the label')
|
||||
string(name: 'build_options',
|
||||
defaultValue: '',
|
||||
description: 'Additional options for Maven.')
|
||||
string(name: 'maven_goal',
|
||||
defaultValue: 'clean deploy',
|
||||
description: 'maven goal. Useful if deploy is not needed')
|
||||
description: 'Additional options for Maven.')
|
||||
}
|
||||
agent
|
||||
{
|
||||
|
@ -65,7 +62,7 @@ pipeline {
|
|||
}
|
||||
stage('Build the job') {
|
||||
steps {
|
||||
sh 'mvn --settings $MAVEN_CONFIG_FOLDER/$gcube_settings -Dmaven.repo.local=$MAVEN_CONFIG_FOLDER/$local_repo $build_options dependency:tree $maven_goal'
|
||||
sh 'mvn --settings $MAVEN_CONFIG_FOLDER/$gcube_settings -Dmaven.repo.local=$MAVEN_CONFIG_FOLDER/$local_repo $build_options dependency:tree clean deploy'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue