mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Small fix
This commit is contained in:
parent
7bfbe1376b
commit
8d0dcd0068
1 changed files with 2 additions and 15 deletions
17
README.md
17
README.md
|
|
@ -291,6 +291,8 @@ workflows:
|
|||
|
||||
## Jenkins Example
|
||||
|
||||
Note: This assumes Node.js and npm are installed on the Jenkins agent.
|
||||
|
||||
```groovy
|
||||
pipeline {
|
||||
agent any
|
||||
|
|
@ -302,21 +304,6 @@ pipeline {
|
|||
}
|
||||
|
||||
stages {
|
||||
stage('Install Node.js') {
|
||||
steps {
|
||||
sh '''
|
||||
set -euo pipefail
|
||||
|
||||
# install Node.js + npm (requires root, or passwordless sudo on the agent)
|
||||
sudo -n apt-get update
|
||||
sudo -n apt-get install -y nodejs npm
|
||||
|
||||
node -v
|
||||
npm -v
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install safe-chain') {
|
||||
steps {
|
||||
sh '''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue