Import Jenkinsfile
Some checks failed
perso/htpasswd/master There was a failure building this commit
Some checks failed
perso/htpasswd/master There was a failure building this commit
This commit is contained in:
19
Jenkinsfile
vendored
Normal file
19
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
pipeline {
|
||||
|
||||
environment {
|
||||
registry = "jcabillot/htpasswd'
|
||||
registryCredential = 'dockerhub_jcabillot'
|
||||
}
|
||||
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Building image') {
|
||||
steps{
|
||||
script {
|
||||
docker.build registry + ":master"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user