|
|
@ -1,23 +1,5 @@
|
|
|
|
pipeline {
|
|
|
|
pipeline {
|
|
|
|
agent { label 'pipes-docker-agent' }
|
|
|
|
|
|
|
|
parameters {
|
|
|
|
|
|
|
|
string(name: 'GIT_URL', defaultValue: '', description: 'Url of helm chart git repo')
|
|
|
|
|
|
|
|
string(name: 'BRANCH_NAME', defaultValue: '', description: 'Branch name from helm repo')
|
|
|
|
|
|
|
|
string(name: 'TAG_NAME', defaultValue: '', description: 'Latest tag')
|
|
|
|
|
|
|
|
string(name: 'REPO_PATH', defaultValue: '', description: 'Path in acr')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
environment {
|
|
|
|
environment {
|
|
|
|
// URL of helm repo
|
|
|
|
|
|
|
|
GIT_URL = "${params.GIT_URL}"
|
|
|
|
|
|
|
|
BRANCH_NAME= "${params.BRANCH_NAME}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GITHUB = credentials('github_credential')
|
|
|
|
|
|
|
|
GITHUB_USERNAME = "${env.GITHUB_USR}"
|
|
|
|
|
|
|
|
GITHUB_PASSWORD = "${env.GITHUB_PSW}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EMAIL = "nathan_wagner@gap.com"
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stages {
|
|
|
|
stage('GitCheckOut') {
|
|
|
|
stage('GitCheckOut') {
|
|
|
|