jenkins: add initial Jenkinsfile

This commit is contained in:
Trimutex 2024-09-17 02:31:19 -05:00
parent ceeb1f552b
commit 10db37262c

20
Jenkinsfile vendored Normal file
View File

@ -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'
}
}
}