Skip to content

Commit 25598bd

Browse files
committed
fix error at test stage
1 parent 9a0228b commit 25598bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Jenkinsfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ pipeline {
1616
steps {
1717
echo "test pipeline"
1818
sh '''
19-
cd /app
20-
npm install --save-dev jest
21-
docker exec -it node sh -c 'npm test jest'
19+
docker exec -it node sh -c 'npm install --save-dev jest && npm test'
2220
'''
2321
}
2422
}

0 commit comments

Comments
 (0)