github.com/mit-dci/lit@v0.0.0-20221102210550-8c3d3b49f2ce/Jenkinsfile (about) 1 pipeline { 2 agent { 3 docker { 4 image 'jamesl22/lit-ci' 5 } 6 } 7 stages { 8 stage('Checkout') { 9 steps { 10 checkout scm 11 } 12 } 13 stage('Download Deps') { 14 steps { 15 sh 'make goget' 16 } 17 } 18 stage('Initial Build') { 19 steps { 20 sh 'make lit' 21 sh 'make lit-af' 22 } 23 } 24 stage('Unit Tests') { 25 steps { 26 sh './scripts/gotests.sh' 27 } 28 } 29 stage('Integration Tests') { 30 steps { 31 sh 'cd test && env LIT_OUTPUT_SHOW=1 ./runtests.py' 32 } 33 } 34 stage('Package') { 35 steps { 36 sh 'make package' 37 } 38 } 39 } 40 post { 41 always { 42 archiveArtifacts artifacts: 'build/_releasedir/*', fingerprint: false 43 deleteDir() 44 } 45 } 46 }