acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
Jenkinsfile (2779B)
1 // See https://github.com/bxparks/AUniter/tree/develop/jenkins for 2 // a description of AUniter integration with Jenkins. 3 // 4 // The following variables are used: 5 // 6 // * AUNITER_ARDUINO_BINARY - defined in the Jenkins system configuration 7 // * WORKSPACE - automatically filled in by Jenkins 8 // * BOARDS - defined in the "This project is parameterized" section of the 9 // Jenkins Pipeline configuration 10 // * BADGE_BUCKET - defined in "This project is parameterized" section. 11 // 12 pipeline { 13 agent { label 'master' } 14 stages { 15 stage('Setup') { 16 steps { 17 dir('AUniter') { 18 git url: 'https://github.com/bxparks/AUniter', 19 branch: 'develop' 20 } 21 dir('libraries/AUnit') { 22 git url: 'https://github.com/bxparks/AUnit', 23 branch: 'develop' 24 } 25 dir('libraries/CapacitiveSensor') { 26 git url: 27 'https://github.com/PaulStoffregen/CapacitiveSensor', 28 branch: 'master' 29 } 30 } 31 } 32 stage('Verify Examples') { 33 steps { 34 sh "AUniter/tools/auniter.sh \ 35 --config libraries/AceButton/tests/auniter.ini \ 36 verify \ 37 --sketchbook $WORKSPACE \ 38 $BOARDS \ 39 libraries/AceButton/examples/*" 40 } 41 } 42 stage('Verify Tests') { 43 steps { 44 sh "AUniter/tools/auniter.sh \ 45 --config libraries/AceButton/tests/auniter.ini \ 46 verify \ 47 --sketchbook $WORKSPACE \ 48 $BOARDS \ 49 libraries/AceButton/tests/AceButtonTest" 50 } 51 } 52 stage('Test') { 53 steps { 54 sh "AUniter/tools/auniter.sh \ 55 --config libraries/AceButton/tests/auniter.ini \ 56 test \ 57 --skip_missing_port \ 58 --sketchbook $WORKSPACE \ 59 $BOARDS \ 60 libraries/AceButton/tests/AceButtonTest" 61 } 62 } 63 } 64 post { 65 failure { 66 script { 67 if (env.BADGE_BUCKET?.trim()) { 68 sh "AUniter/BadgeService/set-badge-status.sh \ 69 $BADGE_BUCKET AceButton FAILED" 70 } 71 } 72 } 73 success { 74 script { 75 if (env.BADGE_BUCKET?.trim()) { 76 sh "AUniter/BadgeService/set-badge-status.sh \ 77 $BADGE_BUCKET AceButton PASSED" 78 } 79 } 80 } 81 } 82 }