[DO-1503] rename project (!66)

Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech>
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/66
This commit is contained in:
Rustam Tagaev
2025-01-20 17:48:06 +03:00
parent 5404dd47d0
commit 3062bfaf21

View File

@@ -7,6 +7,7 @@ import tech.avroid.jenkins.Jenkins
String projectName = 'cloud' // Replace with your Harbor project name
String repositoryName = 'msg-messenger-core-api' // Replace with your Harbor repository name
String k8sAppName = repositoryName
String pageSize = 100 // maximum number of artifacts to return 100
String apiUrl = "https://${JENKINS_DOCKER_REGISTRY}/api/v2.0/projects/${projectName}" +
"/repositories/${repositoryName}/artifacts"
@@ -118,7 +119,7 @@ slaveTemplates.jnlp {
helm repo add avroid ${helmRepo}
helm -n ${namespace} upgrade -f ${valuesPath} \
--set image.tag=${env.APP_VERSION} \
--install ${helmChart} ${helmRepoPath} \
--install ${k8sAppName} ${helmRepoPath} \
--wait
"""
}