Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
dev 787 B
pipeline {
    agent { label 'node2' }
    tools {
        jdk 'JAVA17'
    }
    stages {
        stage('notify') {
            steps {
                script {
                    slack_send_start()
                }
            }
        }

        stage('build') {
            steps {
                sh '''
                    make dist-latest
                '''
            }
        }

        stage('deploy') {
            steps {
                upgradeKubernetes('dawn-gdd', 'dev')
            }
        }

    }

    post {
        success {
            script {
                slack_send_success()
            }
        }
        failure {
            script {
                slack_send_failure()
            }
        }
    }
}