HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/shop.komma.nl/node_modules/env-ci/services/appveyor.js
// https://www.appveyor.com/docs/environment-variables

module.exports = {
	detect({env}) {
		return Boolean(env.APPVEYOR);
	},
	configuration({env}) {
		const pr = env.APPVEYOR_PULL_REQUEST_NUMBER;
		const isPr = Boolean(pr);

		return {
			name: 'Appveyor',
			service: 'appveyor',
			commit: env.APPVEYOR_REPO_COMMIT,
			tag: env.APPVEYOR_REPO_TAG_NAME,
			build: env.APPVEYOR_BUILD_NUMBER,
			buildUrl: `https://ci.appveyor.com/project/${env.APPVEYOR_PROJECT_SLUG}/build/${env.APPVEYOR_BUILD_VERSION}`,
			branch: env.APPVEYOR_REPO_BRANCH,
			job: env.APPVEYOR_JOB_NUMBER,
			jobUrl: `https://ci.appveyor.com/project/${env.APPVEYOR_PROJECT_SLUG}/build/job/${env.APPVEYOR_JOB_ID}`,
			pr,
			isPr,
			prBranch: env.APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH,
			slug: env.APPVEYOR_REPO_NAME,
			root: env.APPVEYOR_BUILD_FOLDER,
		};
	},
};