Jenkinsfile 562 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
pipeline {
    environment {
        BRANCH_TO_DEPLOY = "master"
    }
    agent none
    stages {
        stage('Deploy') {
            agent {
                label 'docker'
            }
            when {
                branch "${BRANCH_TO_DEPLOY}"
            }
            steps {
                withCredentials() {
                    // Just get helm3 for testing
                    sh 'wget https://get.helm.sh/helm-v3.0.3-linux-amd64.tar.gz https://get.helm.sh/helm-v3.0.3-linux-amd64.tar.gz.sha256'
                }
            }
        }
    }
}