pipeline {
    agent any

    options {
        buildDiscarder(logRotator(numToKeepStr: '10'))
        disableConcurrentBuilds()
        timeout(time: 1, unit: 'MINUTES')
        timestamps()
    }



    stages {
            stage('Docker build') {
                steps {
                    echo 'Docker build'
                    sh "docker build -t rezid/geotracker"
                }
            }
        }
    }