blob: 6494c195f771784b86b4afcd1ac92a824a01fc66 (
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
|
pipeline {
agent { label "master" }
stages {
stage("Get source IP address") {
steps {
script {
source = (sh (script: """ip --json address | jq -r '.[] | select(."ifname"=="tapvpn").addr_info[] | select(."family"=="inet").local'""", returnStdout: true)).trim()
}
}
}
stage("Rsync Firefox profile") {
agent { label "workstation" }
steps {
sh (script: "rsync -av --exclude=storage rsync://$source/mozilla/firefox/j56dvo43.default-1520714705340 /home/oleg/.mozilla/firefox")
}
}
}
post {
always {
sendNotifications currentBuild.result
}
}
}
|