multiple jenkins files for build of yocto images
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 line
778 B

  1. pipeline {
  2. /* agent any */
  3. agent {label 'rock'}
  4. stages {
  5. stage('clone poky sumo') {
  6. steps {
  7. sh '''#!/bin/bash
  8. set -x
  9. cd /media/data_ssh
  10. rm -fr *
  11. git clone git://git.yoctoproject.org/poky
  12. cd poky
  13. git checkout -b sumo origin/sumo
  14. '''
  15. }
  16. }
  17. stage('build poky') {
  18. steps {
  19. sh '''#!/bin/bash
  20. set -x
  21. cd /media/data_ssh
  22. cd poky
  23. source oe-init-build-env
  24. ln -s /media/data/.yoctoshare/downloads ./downloads
  25. bitbake core-image-minimal
  26. '''
  27. }
  28. }
  29. }
  30. }