Skip to content

Commit

Permalink
Jenkins permission issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ttodua committed Sep 14, 2024
1 parent b2c10c6 commit c7d55f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/continuous-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ You can use pnpm for installing and caching your dependencies:
pipeline {
agent {
docker {
image 'node:lts-bullseye-slim'
args '-p 3000:3000'
image 'node:lts-bullseye-slim'
args '-p 3000:3000'
}
}
stages {
Expand All @@ -243,3 +243,5 @@ pipeline {
}
}
```

Note, if you have permission issues with `corepack enable`, using `args '-u root:sudo -p 3000:3000'` might solve it.

0 comments on commit c7d55f2

Please sign in to comment.