diff options
Diffstat (limited to 'Jenkinsfile')
| -rw-r--r-- | Jenkinsfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..f452d6b --- /dev/null +++ b/Jenkinsfile | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | pipeline { | ||
| 2 | agent { label "c++" } | ||
| 3 | |||
| 4 | stages { | ||
| 5 | stage('Checkout') { | ||
| 6 | steps { | ||
| 7 | checkout scm | ||
| 8 | } | ||
| 9 | } | ||
| 10 | stage('Build') { | ||
| 11 | steps { | ||
| 12 | sh 'make main' | ||
| 13 | } | ||
| 14 | } | ||
| 15 | } | ||
| 16 | |||
| 17 | post { | ||
| 18 | always { | ||
| 19 | archiveArtifacts artifacts: 'main' | ||
| 20 | } | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | // vim: ft=groovy cindent expandtab tabstop=4 shiftwidth=4 | ||
