Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
Mario Hüttel | 4efa5ae797 | |
Mario Hüttel | 5e90cd39fa | |
Mario Hüttel | 015028bde2 | |
Mario Hüttel | 4e6e5db2c3 | |
Mario Hüttel | a2bcd37800 | |
Mario Hüttel | ed936cf9f9 | |
Mario Hüttel | e595e398d4 | |
Mario Hüttel | 86446e1b22 | |
Mario Hüttel | b26233d5e3 | |
Mario Hüttel | 0ab13edced |
|
@ -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...'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue