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