ci: split production build Jenkins nodes
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-05-06 14:04:12 +08:00
parent 0fae3319a9
commit 96e1d7c4fb
4 changed files with 32 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
pipeline {
agent {
label 'linux && genarrative-build'
label 'linux && genarrative-rust-api'
}
options {
@@ -10,12 +10,12 @@ pipeline {
}
environment {
GIT_REMOTE_URL = 'http://127.0.0.1:3000/GenarrativeAI/Genarrative.git'
CARGO_HOME = '/var/cache/genarrative-build/api-server/cargo-home'
CARGO_TARGET_DIR = '/var/cache/genarrative-build/api-server/cargo-target/prod-release'
GIT_REMOTE_URL = 'http://82.157.175.59:3000/GenarrativeAI/Genarrative.git'
CARGO_HOME = '/home/dsk/.cache/genarrative-jenkins/api-server/cargo-home'
CARGO_TARGET_DIR = '/home/dsk/.cache/genarrative-jenkins/api-server/cargo-target/prod-release'
CARGO_INCREMENTAL = '0'
RUSTC_WRAPPER = 'sccache'
SCCACHE_DIR = '/var/cache/genarrative-build/api-server/sccache'
SCCACHE_DIR = '/home/dsk/.cache/genarrative-jenkins/api-server/sccache'
SCCACHE_CACHE_SIZE = '30G'
}