blob: 702ef54772430ce960dde96d24dcd48837d42502 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
pipeline {
agent {
label "master"
}
environment {
LOCAL_WORKTREE = "/home/oleg/src/nixpkgs"
MASTER_WORKTREE = "${LOCAL_WORKTREE}-master"
GIT_PULL_COMMAND = "git pull --rebase upstream master"
}
stages {
stage("Pulling from upstream Git") {
steps {
dir(LOCAL_WORKTREE) {
sh GIT_PULL_COMMAND
}
dir(MASTER_WORKTREE) {
sh GIT_PULL_COMMAND
}
}
}
stage("Cloning from local Git") {
steps {
parallelGitClone url: "https://cgit.duckdns.org/git/nix/nixpkgs",
branch: "wip-local",
nodeLabels: ["guix", "guix nixbld", "guix vm"],
dir: LOCAL_WORKTREE
}
}
}
post {
always {
sendNotifications currentBuild.result
}
}
}
|