From f67ece34c1c9b6f3152ff724c5421f61ef451703 Mon Sep 17 00:00:00 2001 From: Oliver Sand Date: Thu, 12 Aug 2021 18:14:49 +0200 Subject: [PATCH] Mark LEGACY_JENKINS_ANNOTATION as deprecated Signed-off-by: Oliver Sand --- plugins/jenkins/src/constants.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/jenkins/src/constants.ts b/plugins/jenkins/src/constants.ts index fc0ea0bba4..e1be37ee46 100644 --- a/plugins/jenkins/src/constants.ts +++ b/plugins/jenkins/src/constants.ts @@ -13,5 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -export const LEGACY_JENKINS_ANNOTATION = 'jenkins.io/github-folder'; export const JENKINS_ANNOTATION = 'jenkins.io/job-full-name'; +// @deprecated The legacy annotation used for identifing Jenkins jobs, use +// JENKINS_ANNOTATION instead. +export const LEGACY_JENKINS_ANNOTATION = 'jenkins.io/github-folder';