{"published":"2019-03-12 23:56:25","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","title":"Jenkinsfile\u3067\u30bf\u30a4\u30e0\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u5b9f\u884c","url":"https://blog.morihaya.tech/entry/2019/03/12/235625","version":"1.0","author_name":"morihaya","description":"Jenkinsfile\u3067cron\u5b9a\u671f\u5b9f\u884c\u6307\u5b9a v2\u306b\u306a\u3063\u3066\u304b\u3089\u4e45\u3057\u3044*1Jenkins\u3067\u3059\u304c\u3001Jenkinsfile\u306b\u3088\u308b\u30b8\u30e7\u30d6\u306e\u30b3\u30fc\u30c9\u5316\u304c\u3068\u3066\u3082\u826f\u3044\u3067\u3059\u3002 \u5c0f\u30cd\u30bf\u3067Jenkinsfile\u3067\u306ecron\u5b9f\u884c\u306e\u65b9\u6cd5\u3092\u8abf\u3079\u305f\u306e\u3067\u30e1\u30e2\u3067\u3059\u3002 Document\u306ecron-syntax\u306b\u66f8\u3044\u3066\u3042\u308b\u901a\u308a\u306a\u306e\u3067\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bcron\u3067\u304b\u3051\u307e\u3059\u3002 Jenkinsfile (Declarative Pipeline) pipeline { agent any triggers { cron('H */4 * * 1-5') <-\u3053\u3053 } stages { stage('Example') { steps { \u2026","type":"rich","image_url":null,"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.morihaya.tech%2Fentry%2F2019%2F03%2F12%2F235625\" title=\"Jenkinsfile\u3067\u30bf\u30a4\u30e0\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u5b9f\u884c - \u3082\u308a\u306f\u3084\u30e1\u30e2\u03c6(\u30fb\u03c9\u30fb )\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://blog.morihaya.tech/","categories":["\u5c0f\u30cd\u30bf","Jenkins"],"blog_title":"\u3082\u308a\u306f\u3084\u30e1\u30e2\u03c6(\u30fb\u03c9\u30fb )","height":"190","author_url":"https://blog.hatena.ne.jp/morihaya/"}