Skip to content

Commit

Permalink
ci: mineRepository and discoverGitReferenceBuild happens at Configuri…
Browse files Browse the repository at this point in the history
…ng Testing Environment stage instead of before pipeline
  • Loading branch information
henryborchers committed Nov 25, 2024
1 parent 6b7c23d commit 36e4dad
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -171,30 +171,6 @@ def testReinstallSpeedwagonChocolateyPkg(version){
}


def startup(){

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

}



def testChocolateyPackage(){
def props = readTOML( file: 'pyproject.toml')['project']
stage('Install'){
Expand All @@ -209,7 +185,6 @@ def testChocolateyPackage(){
}
}

startup()

def get_sonarqube_unresolved_issues(report_task_file){
script{
Expand Down Expand Up @@ -379,6 +354,8 @@ pipeline {
stages{
stage('Configuring Testing Environment'){
steps{
discoverGitReferenceBuild(latestBuildIfNotFound: true)
mineRepository()
sh(
label: 'Create virtual environment',
script: '''python3 -m venv bootstrap_uv
Expand Down

0 comments on commit 36e4dad

Please sign in to comment.