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