SnowyGUI/Jenkinsfile

27 lines
635 B
Plaintext
Raw Normal View History

pipeline {
agent any
options {
buildDiscarder(logRotator(numToKeepStr: '48', artifactNumToKeepStr: '96'))
timeout(time: 8, unit: 'MINUTES')
}
triggers {
pollSCM('*/10 * * * *')
}
stages {
stage('Build') {
steps {
echo 'Building..'
sh './gradlew build --stacktrace'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
dir('remappedJars') {
archiveArtifacts artifacts:'*.jar', fingerprint: false
}
}
}
}
}