Merge pull request #34127 from overleaf/gs-j-cd-hooks

Add deploy pipeline trigger hooks to Jenkinsfiles

GitOrigin-RevId: 80bb89615ae16b733009dca21a5fc41b5c30e993
This commit is contained in:
Gernot Schulz
2026-06-01 08:04:55 +00:00
committed by Copybot
parent 54e122610e
commit a0ca344065
18 changed files with 52 additions and 0 deletions
+5
View File
@@ -6,6 +6,11 @@ ifeq ($(BRANCH_NAME),)
export BRANCH_NAME := $(shell git rev-parse --abbrev-ref HEAD)
endif
BRANCH_NAME_TAG_SAFE := $(shell echo "$(BRANCH_NAME)" | sed 's/\//\-\-/g' | cut -c1-96)
.PHONY: print-branch-tag-safe
print-branch-tag-safe:
@echo $(BRANCH_NAME_TAG_SAFE)
ifeq ($(COMMIT_SHA),)
export COMMIT_SHA := $(shell git rev-parse HEAD)
endif