2021-02-27 12:10:02 +01:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Fetch Assets') {
|
|
|
|
agent any
|
|
|
|
steps {
|
|
|
|
echo 'Fetching Assets'
|
2021-02-27 12:26:01 +01:00
|
|
|
sh "git submodule update --init --recursive"
|
|
|
|
sh "git submodule update --remote --merge"
|
2021-02-27 12:10:02 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Patch Assets') {
|
|
|
|
agent any
|
|
|
|
steps {
|
2021-02-27 12:26:01 +01:00
|
|
|
sh "./scripts/br-patches.sh"
|
2021-02-27 12:10:02 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build Assets') {
|
|
|
|
agent any
|
|
|
|
steps {
|
2021-02-27 12:26:01 +01:00
|
|
|
sh "make clean"
|
|
|
|
sh "make rpi4_64-gui"
|
2021-02-27 12:10:02 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Deploy Image'){
|
|
|
|
agent any
|
|
|
|
steps {
|
|
|
|
echo "To Be Implemented"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|