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") _
|
||||
|
||||
// from shared library
|
||||
target = osconfig()
|
||||
|
||||
// a test ...
|
||||
osconfig()
|
||||
|
||||
target = params.platform
|
||||
currentBuild.description = "Pipelined "+target
|
||||
|
||||
node("master") {
|
||||
|
|
@ -46,6 +44,12 @@ cp ${work_dir}/RPMS/*/*.rpm ${target_dir}
|
|||
stage("Publish and test")
|
||||
|
||||
parallel(
|
||||
"Publish": {
|
||||
|
||||
// from shared library
|
||||
publish(target)
|
||||
|
||||
},
|
||||
"Unit testing": {
|
||||
|
||||
withDockerContainer(image: "jenkins-${target}") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue