spc-site/.space.kts

21 lines
567 B
Plaintext
Raw Normal View History

2022-05-22 16:52:36 +03:00
job("Deploy") {
container(displayName = "Build and install", image = "openjdk:11") {
kotlinScript { api ->
// here can be your complex logic
api.gradlew("installDist")
}
}
container(displayName = "Deploy", image = "openjdk:11") {
env["HOST"] = Params("sciprog-host")
env["ID"] = Secrets("sciprog-webmaster-id")
shellScript {
interpreter = "/bin/bash"
content = """
echo Hello
echo World!
"""
}
}
}