updates Jenkinsfile
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -30,7 +30,9 @@ void make_hello(board) {
|
||||
}
|
||||
|
||||
void cmake_hello(board,build_type,core_type) {
|
||||
sh("cd hello-world/")
|
||||
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