From 82cfe19c673346499f8c9e16c6d40f69a49827ad Mon Sep 17 00:00:00 2001 From: arseney300 Date: Wed, 4 Mar 2026 07:14:31 +0000 Subject: ci: add Jenkinsfile --- Jenkinsfile | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000000..56c8a3ccc73 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,40 @@ +pipeline { + agent { + docekr { image 'kernel-builder' } + } + + environment { + NEXUS_URL = 'https://127.23.0.6' + NEXUS_CREDS = credentials('nexut-credentials') + } + + options { + timeout(time: 1, unit: 'HOURS') + } + + stages { + matrix { + axes { + axis { + name 'CONFIG' + values 'defconfig', 'bpi-r2-pro-rk3568_defconfig', 'nanopi-r5s-rk3568_defconfig', 'orangepi_pc_defconfig' + } + } + stages { + stage('Make config') { + sh 'make ${CONFIG}' + } + stage('Build') { + sh 'make CROSS_COMPILE=aarch64-linux-gnu- -j$(nproc)' + } + stage('Upload to nexus'){ + sh ``` + curl -u "$NEXUS_CREDS" --upload-file u-boot.bin "$NEXUS_URL/repository/u-boot/builds/${BUILD_NUMBER}/u-boot.bin" + ``` + } + + } + } + } +} + -- cgit v1.2.3