Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Update npm run command to use sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcc1212 committed Apr 5, 2024
1 parent 8483c65 commit 81e2380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pipeline {
steps {
script {
sshagent(['nial-ssh-creds']) {
sh "ssh -o StrictHostKeyChecking=no [email protected] 'screen -d -m && cd TSI/next/news-aggregation && npm install && npm run dev -- -p 80'"
sh "ssh -o StrictHostKeyChecking=no [email protected] 'screen -d -m && cd TSI/next/news-aggregation && npm install && sudo npm run dev -- -p 80'"
}
}
}
Expand Down

0 comments on commit 81e2380

Please sign in to comment.