Skip to content

Commit

Permalink
Debugging...add a left handler,
Browse files Browse the repository at this point in the history
and run only the team assignment.
  • Loading branch information
wayneseymour committed Jul 20, 2020
1 parent 54c3644 commit ca8736a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .ci/Jenkinsfile_coverage
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ kibanaPipeline(timeoutMinutes: 240) {
]) {
workers.base(name: 'coverage-worker', size: 'l', ramDisk: false, bootstrapped: false) {
catchError {
kibanaCoverage.runTests()
// kibanaCoverage.runTests()
kibanaTeamAssign.load('team_assignment', "### Upload Team Assignment JSON")
handleIngestion(TIME_STAMP)
// handleIngestion(TIME_STAMP)
}
handleFail()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import { run } from '@kbn/dev-utils';
import { TEAM_ASSIGNMENT_PIPELINE_NAME } from '../constants';
import { fetch } from './get_data';
import { noop } from '../utils';
// import { noop } from '../utils';
import { update } from './update_ingest_pipeline';

export const uploadTeamAssignmentJson = () => run(execute, { description });
Expand All @@ -30,7 +30,7 @@ const updatePipeline = update(TEAM_ASSIGNMENT_PIPELINE_NAME);
function execute({ flags, log }) {
if (flags.verbose) log.verbose(`### Verbose logging enabled`);

fetch().fold(noop, updatePipeline(log));
fetch().fold((leftX) => log.error(`\n### Left: ${leftX}`), updatePipeline(log));
}

function description() {
Expand Down

0 comments on commit ca8736a

Please sign in to comment.