Compare commits

...

10 Commits
dev ... jenkins

18
Jenkinsfile vendored
View File

@ -2,9 +2,22 @@ pipeline {
agent any agent any
stages { stages {
stage('Configure') {
steps {
echo 'Configuring Cmake...'
sh '''
mkdir "build" &&
cd "build" &&
cmake "../stm-firmware"
'''
}
}
stage('Build') { stage('Build') {
steps { steps {
echo 'Building..' sh '''
cd "build" &&
make
'''
} }
} }
stage('Test') { stage('Test') {
@ -13,8 +26,9 @@ pipeline {
} }
} }
stage('Deploy') { stage('Deploy') {
when { tag "*" }
steps { steps {
echo 'Deploying....' echo 'Deploying tag...'
} }
} }
} }