Skip to content

Commit

Permalink
Publish core file from the local workspace to fix the failure on LCCI
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Sep 9, 2017
1 parent a5f6c31 commit 89f5ad6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/org/librecores/fusesoc/FuseSoCBuilder.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class FuseSoCBuilder implements Serializable {
String oldCoreDef = script.readFile(filePath)
String newCoreDef = oldCoreDef.substring(0,oldCoreDef.indexOf('[provider]')) + modified
script.writeFile file: filePath, text: newCoreDef
script.archiveArtifacts artifacts: filePath, excludes: null
script.sh "cp ${filePath} modified_${_coreName}.core"
script.archiveArtifacts artifacts: "modified_${_coreName}.core", excludes: null
}
}

0 comments on commit 89f5ad6

Please sign in to comment.