Compare commits
11 Commits
aad9be9905
...
jenkins
| Author | SHA1 | Date | |
|---|---|---|---|
| 4efa5ae797 | |||
| 5e90cd39fa | |||
| 015028bde2 | |||
| 4e6e5db2c3 | |||
| a2bcd37800 | |||
| ed936cf9f9 | |||
| e595e398d4 | |||
| 86446e1b22 | |||
| b26233d5e3 | |||
| 0ab13edced | |||
| 2bc2c0c670 |
35
Jenkinsfile
vendored
Normal file
35
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Configure') {
|
||||
steps {
|
||||
echo 'Configuring Cmake...'
|
||||
sh '''
|
||||
mkdir "build" &&
|
||||
cd "build" &&
|
||||
cmake "../stm-firmware"
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh '''
|
||||
cd "build" &&
|
||||
make
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
echo 'Testing..'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
when { tag "*" }
|
||||
steps {
|
||||
echo 'Deploying tag...'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user