From d171f80a87417f93278c072abe39aa5040711306 Mon Sep 17 00:00:00 2001 From: Venkatesh Date: Thu, 6 Oct 2022 11:12:12 +0530 Subject: [PATCH] added triggers --- jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jenkinsfile b/jenkinsfile index 0d57b26a3..ceb738a03 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -1,6 +1,9 @@ pipeline { agent { label 'JDK-11' } stages { + triggers { + pollSCM('* * * * *') + } parameters { string(name: 'MAVEN_GOAL', defaultValue: 'mvn package', description: 'enter maven goal') choice(name: 'BRANCH', choices: ['master', 'main', 'three'], description: 'select one')