Initial commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
def withDockerImage(String imageName, Closure cmd) {
|
||||
docker.image(imageName).inside() {
|
||||
cmd()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
def call(String configName) {
|
||||
return 'built-in'
|
||||
}
|
||||
0
pipelines/jenkins/games/build-peak/Dockerfile
Normal file
0
pipelines/jenkins/games/build-peak/Dockerfile
Normal file
39
pipelines/jenkins/games/build-peak/pipeline.groovy
Normal file
39
pipelines/jenkins/games/build-peak/pipeline.groovy
Normal file
@@ -0,0 +1,39 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('check for game updates') {
|
||||
steps {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
stage('download game') {
|
||||
steps {
|
||||
script {
|
||||
withCredentials([string(credentialsId: 'ssh_key-root_at_banana', variable: 'API_KEY')]) {
|
||||
sh "wget https://nexus.cloud.velha.casa/repository/static-hosted/peak-crack-files.zip"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('patch game') {
|
||||
steps {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
stage('upload files') {
|
||||
steps {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
stage('notify') {
|
||||
steps {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user