mirror of https://github.com/KLayout/klayout.git
New Jenkinsfile (testing)
This commit is contained in:
parent
663ccf4ad7
commit
7e5ab4dddf
|
|
@ -15,7 +15,13 @@ node("master") {
|
||||||
target_dir = artefacts + "/" + target
|
target_dir = artefacts + "/" + target
|
||||||
work_dir = pwd() + "/" + target
|
work_dir = pwd() + "/" + target
|
||||||
|
|
||||||
stage("Building target ${target}")
|
stage("Checkout sources") {
|
||||||
|
|
||||||
|
checkout scm
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
stage("Building target ${target}") {
|
||||||
|
|
||||||
sh("rm -rf ${target_dir}")
|
sh("rm -rf ${target_dir}")
|
||||||
sh("mkdir -p ${target_dir}")
|
sh("mkdir -p ${target_dir}")
|
||||||
|
|
@ -41,13 +47,15 @@ cp ${work_dir}/RPMS/*/*.rpm ${target_dir}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stage("Publish and test")
|
}
|
||||||
|
|
||||||
|
stage("Publish and test") {
|
||||||
|
|
||||||
parallel(
|
parallel(
|
||||||
"Publish": {
|
"Publish": {
|
||||||
|
|
||||||
// from shared library
|
// from shared library
|
||||||
publish(target)
|
publish(BRANCH_NAME, target, target_dir)
|
||||||
|
|
||||||
},
|
},
|
||||||
"Unit testing": {
|
"Unit testing": {
|
||||||
|
|
@ -83,5 +91,7 @@ klayout -b -h
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue