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