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