Compare commits
1 Commits
jenkins
...
c82ca7d8f0
Author | SHA1 | Date | |
---|---|---|---|
c82ca7d8f0 |
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -2,22 +2,9 @@ pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Configure') {
|
||||
steps {
|
||||
echo 'Configuring Cmake...'
|
||||
sh '''
|
||||
mkdir "build" &&
|
||||
cd "build" &&
|
||||
cmake "../stm-firmware"
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh '''
|
||||
cd "build" &&
|
||||
make
|
||||
'''
|
||||
echo 'Building..'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
@@ -26,9 +13,8 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
when { tag "*" }
|
||||
steps {
|
||||
echo 'Deploying tag...'
|
||||
echo 'Deploying....'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user