add docker files
This commit is contained in:
parent
68cffca2e0
commit
6d501f83a8
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -19,7 +19,7 @@ pipeline {
|
|||||||
echo 'Déploiement sur Portainer...'
|
echo 'Déploiement sur Portainer...'
|
||||||
|
|
||||||
// Obtenir un jeton d'authentification de Portainer
|
// Obtenir un jeton d'authentification de Portainer
|
||||||
withCredentials([usernamePassword(credentialsId: 'portainer-credentials', usernameVariable: 'PORTAINER_USERNAME', passwordVariable: 'PORTAINER_PASSWORD')]) {
|
withCredentials([usernamePassword(credentialsId: 'test', usernameVariable: 'PORTAINER_USERNAME', passwordVariable: 'PORTAINER_PASSWORD')]) {
|
||||||
script {
|
script {
|
||||||
def response = httpRequest httpMode: 'POST',
|
def response = httpRequest httpMode: 'POST',
|
||||||
contentType: 'APPLICATION_JSON',
|
contentType: 'APPLICATION_JSON',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user