Skip to content

Commit 89f5ad6

Browse files
committed
Publish core file from the local workspace to fix the failure on LCCI
1 parent a5f6c31 commit 89f5ad6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/org/librecores/fusesoc/FuseSoCBuilder.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ class FuseSoCBuilder implements Serializable {
9191
String oldCoreDef = script.readFile(filePath)
9292
String newCoreDef = oldCoreDef.substring(0,oldCoreDef.indexOf('[provider]')) + modified
9393
script.writeFile file: filePath, text: newCoreDef
94-
script.archiveArtifacts artifacts: filePath, excludes: null
94+
script.sh "cp ${filePath} modified_${_coreName}.core"
95+
script.archiveArtifacts artifacts: "modified_${_coreName}.core", excludes: null
9596
}
9697
}

0 commit comments

Comments
 (0)