Przeglądaj źródła

commit Jenkinsfile changes

placidenduwayo 1 rok temu
rodzic
commit
7f6a4f6c94
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4
    0
      Jenkinsfile

+ 4
- 0
Jenkinsfile Wyświetl plik

@@ -1,5 +1,9 @@
1
+CRON_SETTINGS = BRANCH_NAME == "master" ? '''H * * *'''
1 2
 pipeline {
2 3
     agent any //we tell jenkins to use any available agent
4
+    triggers {
5
+        cron(CRON_SETTINGS)
6
+    }
3 7
     tools {
4 8
         maven 'Maven'
5 9
         jdk 'Java-17'

Powered by TurnKey Linux.