Make the pipeline parametric on the jenkins project.

master
Manuele Simi 4 years ago
parent 7da9720c28
commit e8b96ded7a

7
Jenkinsfile vendored

@ -3,7 +3,7 @@ def counts = 0
def projects2artifacts = [:]
def artifacts2projects = [:]
def modules2deps = [:]
def inputProject = 'storagehub-client-library'
def inputProject = params.jenkins_project
def report = [:]
report['project'] = inputProject
@ -11,6 +11,11 @@ pipeline {
agent {
label 'CD'
}
parameters {
string(name: 'jenkins_project',
defaultValue: '',
description: 'The name of the Jenkins project to analyze.')
}
stages {
stage('walking projects') {
steps {

Loading…
Cancel
Save