1
0
Fork 0
chmod777/ci/Jenkinsfile

34 lines
531 B
Groovy

pipeline {
agent any
options {
disableConcurrentBuilds()
}
triggers {
pollSCM ''
}
stages {
stage('Prepare') {
steps {
sh '. ci/prepare.sh'
}
}
stage('Build') {
steps {
sh '. ci/build.sh'
}
}
stage('Publish') {
steps {
sshagent(['jenkins-web']) {
sh '. ci/publish.sh'
}
}
}
}
}