2024-08-30 20:37:25 -07:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage("Build on Linux") {
|
|
|
|
agent {
|
|
|
|
label 'linux'
|
|
|
|
}
|
|
|
|
|
|
|
|
steps {
|
|
|
|
sh '''
|
|
|
|
#!/bin/bash
|
2024-08-30 20:54:20 -07:00
|
|
|
|
|
|
|
./compile.sh
|
2024-08-30 20:37:25 -07:00
|
|
|
'''
|
|
|
|
}
|
|
|
|
|
|
|
|
post {
|
|
|
|
always {
|
2024-08-30 20:53:18 -07:00
|
|
|
archiveArtifacts artifacts: "dart/out/*", fingerprint: true
|
|
|
|
archiveArtifacts artifacts: "cpp/build/vsleep", fingerprint: true
|
|
|
|
archiveArtifacts artifacts: "cpp/build/pause", fingerprint: true
|
2024-08-30 20:37:25 -07:00
|
|
|
deleteDir()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|