update CD
This commit is contained in:
parent
56822a3644
commit
c75cbe7217
@ -20,7 +20,8 @@ job("Deploy") {
|
|||||||
shellScript {
|
shellScript {
|
||||||
interpreter = "/bin/bash"
|
interpreter = "/bin/bash"
|
||||||
content = """
|
content = """
|
||||||
echo ${'$'}ID | scp -r -i /dev/stdin /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt"
|
echo ${'$'}ID > id.pub
|
||||||
|
scp -r -i id.pub /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt"
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user