Mixonomer/.jenkins/jenkinsfile

40 lines
905 B
Plaintext
Raw Normal View History

2023-05-02 20:55:07 +01:00
pipeline {
agent any
stages {
2023-05-02 20:57:09 +01:00
// stage('Build Python Env') {
// steps {
// sh 'poetry install'
// }
// }
2023-05-02 20:55:07 +01:00
2023-08-15 17:56:55 +01:00
// stage('Build Javascript') {
// steps {
// sh 'npm ci'
// sh 'npm run build --if-present'
// }
// }
2023-05-02 20:55:07 +01:00
// stage('Test') {
// steps {
// dotnetTest project: "Selector.Core.sln"
// }
// }
stage('Deploy') {
when { branch 'master' }
steps {
script {
2023-05-14 19:07:44 +01:00
docker.withRegistry('https://registry.sarsoo.xyz', 'git-registry-creds') {
2023-05-02 20:55:07 +01:00
docker.build("sarsoo/mixonomer:latest").push()
}
}
}
}
}
post {
always {
cleanWs()
}
}
}