Jenkinsfile

This commit is contained in:
Kameron Kenny - pi501 2024-04-22 09:09:34 -04:00
parent e97ab5dabf
commit 0a2d7314b6
1 changed files with 34 additions and 0 deletions

34
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,34 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Building from Docker Compose...'
step(
[
$class: 'DockerBuilderPublisher',
cleanImages: false,
cleanupWithJenkinsJobDelete: false,
cloud: '',
dockerFileDirectory: '',
fromRegistry: [url: 'docker-registry1.in.thelinuxpro.net:5000'],
pushCredentialsId: '',
pushOnSuccess: false,
tagsString: ''
]
)
}
}
stage('Push to Registry') {
steps {
echo('docker push [disabled]')
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}