Skip to content

Commit

Permalink
Pull request project-chip#87: [Jenkins] Remove Globabl bootstrap
Browse files Browse the repository at this point in the history
Merge in WMN_TOOLS/matter from optimize_ci_bootstrap to silabs

Squashed commit of the following:

commit 4de3b3f776e8207f44f6576e3a7a99ca6b39e67c
Author: jepenven-silabs <[email protected]>
Date:   Mon Sep 12 08:29:42 2022 -0400

    Remove Globabl bootstrap
  • Loading branch information
jepenven-silabs authored and jmartinez-silabs committed Apr 25, 2024
1 parent bddfc9f commit 8bb6720
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,38 +112,6 @@ def runInWorkspace(Map args, Closure cl)
}
}

def bootstrapWorkspace()
{
actionWithRetry {
node(buildFarmLabel)
{
def workspaceTmpDir = createWorkspaceOverlay(advanceStageMarker.getBuildStagesList(),
buildOverlayDir)
def dirPath = workspaceTmpDir + createWorkspaceOverlay.overlayMatterPath
def saveDir = 'matter/'
dir(dirPath) {

withDockerContainer(image: "connectedhomeip/chip-build-efr32:0.5.64", args: "-u root ")
{
try {
sh './scripts/build/gn_bootstrap.sh'
} catch (e) {
deactivateWorkspaceOverlay(advanceStageMarker.getBuildStagesList(),
workspaceTmpDir,
saveDir,
'-name no-files')
throw e
}
}
}
deactivateWorkspaceOverlay(advanceStageMarker.getBuildStagesList(),
workspaceTmpDir,
'matter/',
'-name "*" ! -name "*.lock"')
}
}
}

def buildOpenThreadExample(app, board)
{
actionWithRetry {
Expand Down Expand Up @@ -706,18 +674,6 @@ def pipeline()
}
}


stage('Bootstrap Workspace')
{
advanceStageMarker()

def parallelNodes = [:]
parallelNodes['Bootstrap'] = { this.bootstrapWorkspace() }

parallelNodes.failFast = false
parallel parallelNodes
}

stage('Build OpenThread Examples')
{
advanceStageMarker()
Expand Down

0 comments on commit 8bb6720

Please sign in to comment.