github-tools / github-tools/github
Unable to Create Webhook for Jenkins
- 主要言語
- JavaScript
- スター
- 3.8k
- フォーク
- 809
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
```
var GitHub = require('github-api');
var Promise = require("es6-promise").Promise;
const gh = new GitHub({
username: 'foo',
password: 'bar'
});
var fork = gh.getRepo('user', 'repo');
console.log(fork);
var hookDef = {
"name" : "web",
"config" : {
"url" : "http://jenkinshost:8080",
"content_type": "json"
},
"events" : ["push"],
"active" : true
}
fork.createHook(hookDef)
.then(function(data) {
console.log("A jenkins hook has been created which will trigger a build on push and pull request events...");
});
```
Is there something I am missing
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the JavaScript example and inspect the result or error from fork.createHook(hookDef). Check whether the supplied webhook definition is accepted, then confirm that a Jenkins webhook can be created successfully for the repository.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github, javascript
- 領域
- api
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100