@knapsack-pro/core
Version:
Knapsack Pro Core library splits tests across CI nodes and makes sure that tests will run in optimal time on each CI node. This library gives core features like communication with KnapsackPro.com API. This library is a dependency for other projects specif
38 lines (37 loc) • 929 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Codeship = void 0;
const _1 = require(".");
class Codeship extends _1.CIProviderBase {
static get ciNodeTotal() {
return undefined;
}
static get ciNodeIndex() {
return undefined;
}
static get ciNodeBuildId() {
return process.env.CI_BUILD_NUMBER;
}
static get ciNodeRetryCount() {
return undefined;
}
static get commitHash() {
return process.env.CI_COMMIT_ID;
}
static get branch() {
return process.env.CI_BRANCH;
}
static get userSeat() {
return process.env.CI_COMMITTER_NAME;
}
static get detect() {
return process.env.CI_NAME === 'codeship' ? this : null;
}
static get fixedQueueSplit() {
return true;
}
static get ciProvider() {
return 'Codeship';
}
}
exports.Codeship = Codeship;