updates Jenkinsfile
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -30,7 +30,9 @@ void make_hello(board) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cmake_hello(board,build_type,core_type) {
|
void cmake_hello(board,build_type,core_type) {
|
||||||
|
sh("pwd")
|
||||||
sh("cd hello-world/")
|
sh("cd hello-world/")
|
||||||
|
sh("pwd")
|
||||||
def flavor ="${board}_${build_type}_${core_type}"
|
def flavor ="${board}_${build_type}_${core_type}"
|
||||||
if (core_type=="32")
|
if (core_type=="32")
|
||||||
flavor ="${board}_${build_type}"
|
flavor ="${board}_${build_type}"
|
||||||
@ -63,7 +65,7 @@ pipeline {
|
|||||||
axes {
|
axes {
|
||||||
axis{
|
axis{
|
||||||
name 'BOARD'
|
name 'BOARD'
|
||||||
values 'iss', 'hifive1', 'TGCP', 'ehrenberg', 'rtl', 'tgc_vp'
|
values 'iss', 'hifive1', 'TGCP', 'Moonlight', 'rtl', 'tgc_vp'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
@ -107,7 +109,9 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("CMAKE") {
|
stage("CMAKE") {
|
||||||
steps {
|
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