Skip to content

Commit

Permalink
Add npm installation
Browse files Browse the repository at this point in the history
In trying to add this plugin to [bom](https://github.com/jenkinsci/bom), I was unable to run:

`mvn clean verify`

locally to do testing since I did not have `npm` installed:

```
[INFO] --- frontend:1.15.0:yarn (yarn mvnbuild) @ customizable-header ---
[INFO] Running 'yarn run mvnbuild' in /Users/dpope/github-forks/customizable-header-plugin
[INFO] yarn run v1.22.19
[INFO] $ npm run build
[INFO] /bin/sh: npm: command not found
[INFO] error Command failed with exit code 127.
[INFO] error Command failed with exit code 127.info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```

There may be a better way to solve this issue, but this was the simplest way for me.

Once this issue is solved (in whatever way you prefer), I can add this plugin to bom.
  • Loading branch information
darinpope committed Nov 26, 2024
1 parent dd3dcbc commit fd794a9
Show file tree
Hide file tree
Showing 4 changed files with 5,583 additions and 380 deletions.
Empty file added .mvn_exec_node
Empty file.
Loading

0 comments on commit fd794a9

Please sign in to comment.