Zum Inhalt springen
_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
Referenzen Technologien Blog Know-how Tools
Über uns Zusammenarbeit Karriere
CS EN DE
Lassen Sie uns sprechen

Jenkins Pipeline

05. 10. 2025 1 Min. Lesezeit intermediate

DevOps Pokročilý

Jenkins Pipeline

JenkinsPipelineCI/CD 3 min čtení

Jenkins Declarative Pipeline. Stages, agents, post actions.

Jenkinsfile

pipeline {
    agent any
    stages {
        stage('Test') { steps { sh 'npm ci && npm test' } }
        stage('Build') { steps { sh 'docker build -t myapp:${BUILD_NUMBER} .' } }
        stage('Deploy') {
            when { branch 'main' }
            steps { sh 'kubectl set image deploy/app app=myapp:${BUILD_NUMBER}' }
        }
    }
    post { failure { slackSend channel: '#ci', message: 'Build failed!' } }
}

Shrnuti

Jenkins je flexibilni ale vyzaduje udrzbu. Pro nove projekty zvazte GitHub Actions nebo GitLab CI.

Potřebujete pomoct s implementací?

Náš tým má zkušenosti s návrhem a implementací moderních architektur. Rádi vám pomůžeme.

Nezávazná konzultace

Teilen:

CORE SYSTEMS tým

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.