Newer
Older
Dockerfiles / Jenkinsfile

pipeline {
    agent any
    stages {
        stage('Build') {
            steps {
              echo 'Building..'
              sh 'docker build --tag base                ./ -f Dockerfile.base'
              sh 'docker build --tag lint-agent          ./ -f Dockerfile.lint'
              sh 'docker build --tag documentation-agent ./ -f Dockerfile.documentation'
              sh 'docker build --tag linux-build-agent   ./ -f Dockerfile.build.linux'
              sh 'docker build --tag windows-build-agent ./ -f Dockerfile.build.windows'
              sh 'docker build --tag macosx-build-agent  ./ -f Dockerfile.build.macosx'
              sh 'docker build --tag cockpit             ./ -f Dockerfile.cockpit'
            }
        },
        stage('Deploy') {
            steps {
              echo 'Starting..'
              sh 'docker-compose up -d -f docker-compose.yml'
            }
        }
    }
}