問題タブ [newman]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
jenkins - Jenkins の Newman レポートに BuildNumber を追加する
Newman を使用して Postman スクリプトを Jenkins と統合しようとしています。Jenkins のビルド セクションでは、コレクションと共に Newman の run コマンドを渡しています。
newman run collection.json --reporters html --reporter-html-export report.html
Newman を使用して生成されたレポートに、ビルド番号、コミット メッセージ (コミット中に使用)、およびコミッター名 (コミットしたユーザー) を追加するにはどうすればよいですか? 開発者がリポジトリでコミットするたびに、Jenkins でこのジョブを実行しようとしています。レポート名をreport_buildnumber_commitmessage_committername.htmlにしたい。