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