Compare commits

...

10 Commits
dev ... jenkins

1 changed files with 17 additions and 3 deletions

20
Jenkinsfile vendored
View File

@ -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...'
}
}
}