Skip to content

Commit

Permalink
CI refactored (continued) (#1073)
Browse files Browse the repository at this point in the history
* Moved pre-package testing that depends on building

* Deleted the unused Jenkinsfile.release

* Adding a release note

* Reusing the node to checkout only once

* Don't skip the default checkout

* Restore previous behaviour, but building before testing
  • Loading branch information
kraenhansen authored Jan 7, 2019
1 parent 5ed1a46 commit b5534ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 137 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ pipeline {
sh 'rm -rf node_modules'
// Link in the node_modules from the image
sh 'ln -s /tmp/node_modules .'
// Build the app for the spectron tests to run
sh 'npm run build'
// Run the tests
sh 'MOCHA_FILE=pre-test-results.xml xvfb-run npm run test:ci'
}
Expand Down
137 changes: 0 additions & 137 deletions Jenkinsfile.release

This file was deleted.

1 change: 1 addition & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
- Fixed the Dockerfile used when testing PRs. ([#1057](https://github.com/realm/realm-studio/pull/1057))
- Removing all existing and future unused locals. ([#1058](https://github.com/realm/realm-studio/pull/1058))
- Refactored singleton windows. ([#1066](https://github.com/realm/realm-studio/pull/1066))
- Refactored the Jenkins CI pipeline. ([#1069](https://github.com/realm/realm-studio/pull/1069) & [#1073](https://github.com/realm/realm-studio/pull/1073))

0 comments on commit b5534ab

Please sign in to comment.