diff --git a/src/job/productionJobHandler.ts b/src/job/productionJobHandler.ts index 4de7b6a20..16c70046a 100644 --- a/src/job/productionJobHandler.ts +++ b/src/job/productionJobHandler.ts @@ -144,7 +144,7 @@ export class ProductionJobHandler extends JobHandler { const prefix = this.currJob.payload.urlSlug ? `${this.currJob.payload.prefix}/${this.currJob.payload.urlSlug}` : this.currJob.payload.prefix; - if (this.currJob.payload.newHead && this.currJob.payload.action == 'automatedTest') { + if (this.currJob.payload.action == 'automatedTest') { const titleArray = this.currJob.title.split(' '); const commitHash = titleArray[titleArray.length - 5]; return `smokeTestDeploys/${commitHash}/${prefix}`;