Skip to content

Commit

Permalink
Move copy manifest to within build step
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Jan 17, 2025
1 parent 6c0574e commit 28302e1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
16 changes: 2 additions & 14 deletions pipelines/lib/util.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1385,20 +1385,8 @@ def String runRebuild(Map p) {
wait: true,
)
nodeTiny {

step([$class: 'CopyArtifact',
projectName: useP.job,
filter: "**/lsstsw/build/manifest.txt",
//target: manifestArtifact,
target: 'buildmanifest',
selector: [
$class: 'SpecificBuildSelector',
buildNumber: result.id,
],
])
def manifestId = parseManifestId(readFile('buildmanifest/lsstsw/build/manifest.txt'))
// echo sh(returnStdout: true, script: 'env|sort')

def manifestId = parseManifestId(readFile('buildmanifest/linux-9-x86/lsstsw/build/manifest.txt'))
// echo sh(returnStdout: true, script: 'env|sort')
echo "parsed manifest id: ${manifestId}"
return manifestId
} // nodeTiny
Expand Down
21 changes: 21 additions & 0 deletions pipelines/release/run_rebuild.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,27 @@ notify.wrap {
} // withCredentials
}
} // stage('push docs')
stage('copy manifest'){

if (lsstswConfig.main_build_arch) {

util.nodeTiny {
step([$class: 'CopyArtifact',
projectName: useP.job,
filter: "linux-9-x86/lsstsw/build/manifest.txt",
//target: manifestArtifact,
target: 'buildmanifest',
selector: [
$class: 'SpecificBuildSelector',
buildNumber: result.id,
],
])
def manifestId = parseManifestId(readFile('buildmanifest/linux-9-x86/lsstsw/build/manifest.txt'))
// echo sh(returnStdout: true, script: 'env|sort')
echo "parsed manifest id: ${manifestId}"
} //nodeTiny
}
} //stage('copy manifest')
} // ws
} // run

Expand Down

0 comments on commit 28302e1

Please sign in to comment.