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

Commit

Permalink
Update Jenkinsfile to run npm dev command in detached screen session
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcc1212 committed Apr 5, 2024
1 parent 5976cd7 commit bcc4b89
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 && cd TSI/next/news-aggregation && npm install && npm run dev'"
sh "ssh -o StrictHostKeyChecking=no [email protected] 'screen -d -m && cd TSI/next/news-aggregation && npm install && npm run dev'"
}
}
}
Expand Down

0 comments on commit bcc4b89

Please sign in to comment.