From 14679122993bc40effd59ea4c931b1f2408cc4d4 Mon Sep 17 00:00:00 2001 From: "shikhar.s" Date: Tue, 30 Jul 2019 14:47:16 +0530 Subject: [PATCH] checkout scm file --- Jenkinsfile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5cb1a9b6..bca202e4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,9 +1,13 @@ pipeline { agent any + triggers { + pollSCM('*/5 * * * 1-5') + } options { - buildDiscarder( - // Only keep the 10 most recent builds - logRotator(numToKeepStr:'10')) + skipDefaultCheckout(true) + // Keep the 10 most recent builds + buildDiscarder(logRotator(numToKeepStr: '10')) + timestamps() } environment { projectName = 'BitMessage' @@ -14,13 +18,13 @@ pipeline { stages { - /* + stage ('Checkout') { steps { checkout scm } } - */ + stage ('Install_Requirements') { steps {