diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..4059131 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +pipeline { + agent any + stages { + stage('Checkout') { + steps { + checkout scm + } + } + stage('Build') { + steps { + script { + docker.build('test.trianta.dev:latest') + } + } + } + stage('Deploy') { + sh 'docker run -p 3466:3466 test.trianta.dev' + } + } +}