pipelineJob('DevSecOps/svace_analyze_project') { parameters { booleanParam { description("Check if SonarQube scan is requred (project should have sonar-project.properties file)") name('RUN_SONARQUBE_SCAN') defaultValue(false) } string { description('Git project (organization/project)') name('GIT_PROJECT') defaultValue('') } string { description('Git project branch') name('BRANCH') defaultValue('') } string { description('Git project commmit') name('COMMIT_SHA') defaultValue('') } string { description('Git project main branch') name('MAIN_BRANCH') defaultValue('master') } choice { description('Main language for analysis') name('LANGUAGE') choices('python\njavascript\n') } string { description('Name, version and arch of build. Example: aurora5_armv7hl') name('BUILD_PATFORM') defaultValue('') } } definition { cpsScm { scm { git { remote { url("${JENKINS_GIT_REPOSITORY_URL}/DevOps/jenkins-pipelines.git") credentials("${JENKINS_GIT_CREDENTIALS_HTTP}") } branch('master') } } scriptPath('pipelines/DevSecOps/svace-analyze-project.groovy') } } }