Jenkinsfile
This commit is contained in:
parent
e97ab5dabf
commit
0a2d7314b6
|
@ -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....'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue