This commit is contained in:
Vendored
+19
@@ -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