Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
fix: add cron to jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
beetcb committed Feb 17, 2021
1 parent fc3dd33 commit c2851c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pipeline {
agent any
triggers{ cron('0 5,11,16 * * *') }
stages {
stage('拉取代码库') {
steps {
Expand All @@ -12,8 +13,8 @@ pipeline {
]]])
}
}
stage('签到') {
steps {
stage('签到') {
steps {
sh 'npm ci'
sh 'node ./init.js'
}
Expand Down

0 comments on commit c2851c8

Please sign in to comment.