Skip to content

Commit 94974b0

Browse files
authored
Create Triggers_PIPELINE
1 parent f785da2 commit 94974b0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

JENKINS/Triggers_PIPELINE

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Triggers, Declarative Pipeline
2+
// Declarative //
3+
pipeline {
4+
agent any
5+
triggers {
6+
cron('H */4 * * 1-5')
7+
}
8+
stages {
9+
stage('Example') {
10+
steps {
11+
echo 'Hello World'
12+
}
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)