Skip to content

Commit

Permalink
ci: jenkins runs discoverGitReferenceBuild & mineRepository during Se…
Browse files Browse the repository at this point in the history
…tup Testing Environment stage
  • Loading branch information
henryborchers committed Nov 26, 2024
1 parent 689d2ba commit da584c4
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions vars/runJenkinsPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,6 @@ def get_sonarqube_unresolved_issues(report_task_file){

// ****************************************************************************

def startup(){
node(){
checkout scm
parallel(
[
failFast: true,
'Loading Reference Build Information': {
discoverGitReferenceBuild()
},
'Enable Git Forensics': {
mineRepository()
},
]
)
}
}

startup()
def call() {
pipeline {
agent none
Expand Down Expand Up @@ -170,6 +152,8 @@ def call() {
stages{
stage('Setup Testing Environment'){
steps{
discoverGitReferenceBuild()
mineRepository()
sh(
label: 'Create virtual environment',
script: '''python3 -m venv bootstrap_uv
Expand Down

0 comments on commit da584c4

Please sign in to comment.