diff options
Diffstat (limited to 'packages/linux-kernel/Jenkinsfile')
-rw-r--r-- | packages/linux-kernel/Jenkinsfile | 58 |
1 files changed, 56 insertions, 2 deletions
diff --git a/packages/linux-kernel/Jenkinsfile b/packages/linux-kernel/Jenkinsfile index 09771a5..908a302 100644 --- a/packages/linux-kernel/Jenkinsfile +++ b/packages/linux-kernel/Jenkinsfile @@ -22,7 +22,7 @@ /* Only keep the most recent builds. */ def projectProperties = [ - [$class: 'BuildDiscarderProperty',strategy: [$class: 'LogRotator', numToKeepStr: '20']], + [$class: 'BuildDiscarderProperty',strategy: [$class: 'LogRotator', numToKeepStr: '1']], ] properties(projectProperties) @@ -92,7 +92,7 @@ pipeline { doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CleanCheckout'], [$class: 'CloneOption', depth: 1, noTags: false, reference: '', shallow: true]], - branches: [[name: 'v5.8.8' ]], + branches: [[name: 'v4.19.142' ]], userRemoteConfigs: [[credentialsId: 'GitHub-vyosbot', url: 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git']]]) } } @@ -118,6 +118,26 @@ pipeline { } } } + stage('WireGuard') { + when { + beforeOptions true + beforeAgent true + anyOf { + changeset pattern: "${env.CHANGESET_DIR}" + triggeredBy 'TimerTrigger' + triggeredBy cause: "UserIdCause" + } + } + steps { + dir(env.BASE_DIR + '/wireguard-linux-compat') { + checkout([$class: 'GitSCM', + doGenerateSubmoduleConfigurations: false, + extensions: [[$class: 'CleanCheckout']], + branches: [[name: 'debian/1.0.20200712-1_bpo10+1' ]], + userRemoteConfigs: [[credentialsId: 'GitHub-vyosbot', url: 'https://salsa.debian.org/debian/wireguard-linux-compat.git']]]) + } + } + } stage('Accel-PPP') { when { beforeOptions true @@ -159,6 +179,24 @@ pipeline { stage('Kernel Module(s)') { parallel { + stage('WireGuard') { + when { + beforeOptions true + beforeAgent true + anyOf { + changeset pattern: "${env.CHANGESET_DIR}" + triggeredBy 'TimerTrigger' + triggeredBy cause: "UserIdCause" + } + } + steps { + dir(env.BASE_DIR) { + // In Debian wireguard repo commit edb7124c866ea0e506278c311fc82dfde1f957be + // they decided to split source code of the kernel part and tools + sh "./build-wireguard-modules.sh" + } + } + } stage('Accel-PPP') { when { beforeOptions true @@ -175,6 +213,22 @@ pipeline { } } } + stage('Intel Driver(s)') { + when { + beforeOptions true + beforeAgent true + anyOf { + changeset pattern: "${env.CHANGESET_DIR}" + triggeredBy 'TimerTrigger' + triggeredBy cause: "UserIdCause" + } + } + steps { + dir(env.BASE_DIR) { + sh "./build-intel-drivers.sh" + } + } + } stage('Intel QuickAssist Technology') { when { beforeOptions true |