Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update trssCodeSync #868

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions TestResultSummaryService/jenkins/trssCodeSync.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ node(TRSS_NODE) {
sh "pwd"
sh '''
git pull
echo "Update TRSS client..."
cd test-result-summary-client
echo "npm ci --production --legacy-peer-deps"
npm ci --production --legacy-peer-deps
echo "npm run build"
CI=false npm run build
echo "Update TRSS server..."
cd ../TestResultSummaryService
echo "npm ci --production"
npm ci --production
echo "Stop TRSS components..."
echo "npm run docker-down"
npm run docker-down
echo "Restart TRSS components..."
echo "npm run docker"
npm run docker
'''
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"docker": "docker compose --profile prod up --build",
"docker-data": "docker compose --profile prod --profile data up --build",
"docker-down": "docker compose down",
"docker-down": "docker compose down --remove-orphans",
"docker-ui": "REACT_APP_CONNECT_ADOPTIUM_API=enable docker compose up --build"
},
"author": "",
Expand Down
Loading