{"published":"2017-12-10 06:45:15","type":"rich","description":"Jenkins \u3067\u30ed\u30fc\u30ab\u30eb\u306b\u3042\u308b\u30ec\u30dd\u30b8\u30c8\u30ea\u304b\u3089 github \u306b\u540c\u671f\u3057\u305f\u3044\u3002pipline \u3067\u884c\u3046\u5834\u5408\u3001 GitPublisher Plugin \u304c\u4f7f\u3048\u306a\u3044\u306e\u3067\u3001\u81ea\u5206\u3067 git push \u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002 1. cred-id \u3067 github \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30c8\u30fc\u30af\u30f3\u3092 Jenkins \u306e credential \u306b\u767b\u9332\u3059\u308b\u3002 2. Declarative pipeline \u3067\u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304f\u3002 withCredentials( [usernamePassword( credentialsId: 'cred-id', passwordVariable: 'GIT_TOKE\u2026","title":"Jenkins \u3067\u30ed\u30fc\u30ab\u30eb\u30ec\u30dd\u30b8\u30c8\u30ea\u3092 github \u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u540c\u671f\u3059\u308b","author_name":"nonylene","image_url":null,"height":"190","blog_title":"Unyablog.","author_url":"https://blog.hatena.ne.jp/nonylene/","categories":["jenkins","CI"],"blog_url":"https://nonylene.hatenablog.jp/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","url":"https://nonylene.hatenablog.jp/entry/2017/12/10/064515","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnonylene.hatenablog.jp%2Fentry%2F2017%2F12%2F10%2F064515\" title=\"Jenkins \u3067\u30ed\u30fc\u30ab\u30eb\u30ec\u30dd\u30b8\u30c8\u30ea\u3092 github \u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u540c\u671f\u3059\u308b - Unyablog.\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0"}