updates Jenkinsfile
This commit is contained in:
6
Jenkinsfile
vendored
6
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,6 +109,7 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("CMAKE") {
|
stage("CMAKE") {
|
||||||
steps {
|
steps {
|
||||||
|
dir("hello-world"){
|
||||||
cmake_hello("${BOARD}","${BUILD_TYPE}","${CORE_TYPE}")
|
cmake_hello("${BOARD}","${BUILD_TYPE}","${CORE_TYPE}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,6 +119,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
post {
|
post {
|
||||||
failure {
|
failure {
|
||||||
|
Reference in New Issue
Block a user