generated from AriasCreations/vsmodtemplate
Add a jenkins CI file
This commit is contained in:
parent
d34ec9d609
commit
38fe2c98fd
1 changed files with 35 additions and 0 deletions
35
Jenkinsfile
vendored
Normal file
35
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
pipeline {
|
||||
agent any
|
||||
options {
|
||||
buildDiscarder (
|
||||
logRotator (
|
||||
numToKeepStr: '5'
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
stages {
|
||||
stage ("Build") {
|
||||
agent {
|
||||
label 'linux'
|
||||
}
|
||||
|
||||
steps {
|
||||
sh '''
|
||||
#!/bin/bash
|
||||
|
||||
git submodule update --init --recursive
|
||||
chmod +x build.sh
|
||||
./build.sh
|
||||
'''
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: "Releases/*.zip"
|
||||
cleanWs()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue