updates Jenkinsfile
This commit is contained in:
1 parent
21f97e9bc3
commit
21391f1f01
1 file changed
+6
-2
Vendored
+6
-2
@@ -30,7 +30,9 @@ void make_hello(board) {
|
||||
}
|
||||
|
||||
void cmake_hello(board,build_type,core_type) {
|
||||
sh("pwd")
|
||||
sh("cd hello-world/")
|
||||
sh("pwd")
|
||||
def flavor ="${board}_${build_type}_${core_type}"
|
||||
if (core_type=="32")
|
||||
flavor ="${board}_${build_type}"
|
||||
@@ -63,7 +65,7 @@ pipeline {
|
||||
axes {
|
||||
axis{
|
||||
name 'BOARD'
|
||||
values 'iss', 'hifive1', 'TGCP', 'ehrenberg', 'rtl', 'tgc_vp'
|
||||
values 'iss', 'hifive1', 'TGCP', 'Moonlight', 'rtl', 'tgc_vp'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
@@ -107,7 +109,9 @@ pipeline {
|
||||
stages {
|
||||
stage("CMAKE") {
|
||||
steps {
|
||||
cmake_hello("${BOARD}","${BUILD_TYPE}","${CORE_TYPE}")
|
||||
dir("hello-world"){
|
||||
cmake_hello("${BOARD}","${BUILD_TYPE}","${CORE_TYPE}")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user