This commit is contained in:
2020-04-18 17:43:13 +02:00
parent f383ed0ce4
commit c0c2881020
3 changed files with 14 additions and 6 deletions

View File

@ -24,7 +24,8 @@ export class Jenkins implements Snippet {
if (is_node) {
await apply_template (node_js, 'jenkins.js');
await apply_template (node_jenkinsfile, 'Jenkinsfile');
await modify_json ((obj) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
await modify_json ((obj: any): any => {
obj.scripts.ci = 'yarn && node jenkins.js';
return obj;
});