Jenkinsfile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. @Library('jenkins-joylib@v1.0.8') _
  2. pipeline {
  3. agent none
  4. options {
  5. buildDiscarder(logRotator(numToKeepStr: '45'))
  6. timestamps()
  7. }
  8. stages {
  9. stage('top') {
  10. parallel {
  11. stage('v4-zone') {
  12. agent {
  13. label joyCommonLabels(image_ver: '15.4.1')
  14. }
  15. tools {
  16. nodejs 'sdcnode-v4-zone'
  17. }
  18. stages {
  19. stage('check') {
  20. steps{
  21. sh('make check')
  22. }
  23. }
  24. stage('test') {
  25. steps{
  26. sh('make test')
  27. }
  28. }
  29. }
  30. }
  31. stage('v6-zone64') {
  32. agent {
  33. label joyCommonLabels(image_ver: '18.4.0')
  34. }
  35. tools {
  36. nodejs 'sdcnode-v6-zone64'
  37. }
  38. stages {
  39. stage('check') {
  40. steps{
  41. sh('make check')
  42. }
  43. }
  44. stage('test') {
  45. steps{
  46. sh('make test')
  47. }
  48. }
  49. }
  50. }
  51. }
  52. }
  53. }
  54. post {
  55. always {
  56. joySlackNotifications()
  57. }
  58. }
  59. }