mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
force cwd for failed_test reporting
(cherry picked from commit 1d12402b5b
)
This commit is contained in:
parent
6fb7f12bd1
commit
b7fab4fb4b
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
const { resolve } = require('path');
|
||||
|
||||
// force cwd
|
||||
process.chdir(resolve(__dirname, '../../..'));
|
||||
|
||||
if (!process.env.JOB_NAME) {
|
||||
console.log('Unable to determine job name');
|
||||
process.exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue