Skip to content

Commit

Permalink
added another check
Browse files Browse the repository at this point in the history
Signed-off-by: munishchouhan <[email protected]>
  • Loading branch information
munishchouhan committed Nov 19, 2024
1 parent ac959ec commit a6d4a92
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,11 @@ class ViewController {
condaLock = null //if there is no conda lock file, don't show the conda lock data
def builds = persistenceService.allBuilds(result.buildId.split('-')[1].split('_')[0])
for (def build : builds) {
if (build.succeeded()){
if ( build.succeeded() ){
buildId = build.buildId
condaLock = buildLogService.fetchCondaLockString(build.buildId)
if ( !condaLock.contains('cat environment.lock') )
break
}
}
}
Expand Down

0 comments on commit a6d4a92

Please sign in to comment.