mirror of https://github.com/KLayout/klayout.git
New Jenkinsfile (testing)
This commit is contained in:
parent
01023dd291
commit
663ccf4ad7
|
|
@ -1,11 +1,9 @@
|
||||||
|
|
||||||
@Library("osconfig") _
|
@Library("osconfig") _
|
||||||
|
|
||||||
|
// from shared library
|
||||||
|
target = osconfig()
|
||||||
|
|
||||||
// a test ...
|
|
||||||
osconfig()
|
|
||||||
|
|
||||||
target = params.platform
|
|
||||||
currentBuild.description = "Pipelined "+target
|
currentBuild.description = "Pipelined "+target
|
||||||
|
|
||||||
node("master") {
|
node("master") {
|
||||||
|
|
@ -46,6 +44,12 @@ cp ${work_dir}/RPMS/*/*.rpm ${target_dir}
|
||||||
stage("Publish and test")
|
stage("Publish and test")
|
||||||
|
|
||||||
parallel(
|
parallel(
|
||||||
|
"Publish": {
|
||||||
|
|
||||||
|
// from shared library
|
||||||
|
publish(target)
|
||||||
|
|
||||||
|
},
|
||||||
"Unit testing": {
|
"Unit testing": {
|
||||||
|
|
||||||
withDockerContainer(image: "jenkins-${target}") {
|
withDockerContainer(image: "jenkins-${target}") {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue