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
|
||||
work_dir = pwd() + "/" + target
|
||||
|
||||
stage("Building target ${target}")
|
||||
stage("Checkout sources") {
|
||||
|
||||
checkout scm
|
||||
|
||||
}
|
||||
|
||||
stage("Building target ${target}") {
|
||||
|
||||
sh("rm -rf ${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(
|
||||
"Publish": {
|
||||
|
||||
// from shared library
|
||||
publish(target)
|
||||
publish(BRANCH_NAME, target, target_dir)
|
||||
|
||||
},
|
||||
"Unit testing": {
|
||||
|
|
@ -83,5 +91,7 @@ klayout -b -h
|
|||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue