Merge pull request 'chore: remove legacy GitLab CI and Jenkins files' (#47) from ci/remove-legacy-ci into main
Docker Build and Push / integration-test (push) Successful in 3m56s
Main Release / hadolint (push) Successful in 21s
Docker Build and Push / test (push) Successful in 4m54s
Main Release / test (push) Successful in 3m27s
Main Release / build (push) Successful in 36s
Docker Build and Push / build (push) Successful in 9m35s
Main Release / tag (push) Successful in 20s
Tag Release / hadolint (push) Successful in 12s
Tag Release / test (push) Successful in 29s
Tag Release / build-push (push) Successful in 6m46s

Reviewed-on: #47
This commit was merged in pull request #47.
This commit is contained in:
2026-09-02 09:49:33 -04:00
Vendored
-38
View File
@@ -1,38 +0,0 @@
pipeline {
environment {
registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/mcp-maildir'
}
agent any
triggers {
cron('@midnight')
}
stages {
stage('Clone repository') {
steps{
checkout scm
}
}
stage('Build image') {
steps{
sh 'docker build --force-rm=true --no-cache=true --pull -t ${dockerImage} -f pkg/Dockerfile .'
}
}
stage('Deploy Image') {
steps{
script {
withCredentials([usernamePassword(credentialsId: 'dockerhub_jcabillot', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {
sh 'docker login --username ${DOCKER_USER} --password ${DOCKER_PASS}'
sh 'docker push ${dockerImage}'
}
}
}
}
}
}