checkout scm file

This commit is contained in:
shikhar.s 2019-07-30 14:47:16 +05:30
parent 43e42bbe6c
commit 1467912299

14
Jenkinsfile vendored
View File

@ -1,9 +1,13 @@
pipeline { pipeline {
agent any agent any
triggers {
pollSCM('*/5 * * * 1-5')
}
options { options {
buildDiscarder( skipDefaultCheckout(true)
// Only keep the 10 most recent builds // Keep the 10 most recent builds
logRotator(numToKeepStr:'10')) buildDiscarder(logRotator(numToKeepStr: '10'))
timestamps()
} }
environment { environment {
projectName = 'BitMessage' projectName = 'BitMessage'
@ -14,13 +18,13 @@ pipeline {
stages { stages {
/*
stage ('Checkout') { stage ('Checkout') {
steps { steps {
checkout scm checkout scm
} }
} }
*/
stage ('Install_Requirements') { stage ('Install_Requirements') {
steps { steps {