From 35623c8ab606b124023490bd270d3490f4421e0a Mon Sep 17 00:00:00 2001 From: dany Date: Mon, 1 Aug 2022 11:29:57 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Jenkinsfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a6d8f28..228e7a7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,12 @@ +def remote = [:] +remote.name = 'workstation' +remote.host = 'workstation' +remote.user = 'dany' +remote.identityFile = '/var/jenkins_home/.ssh/id_rsa' +remote.allowAnyHosts = true +remote.agent = false +remote.logLevel = 'INFO' + pipeline{ options { // Limit build history with buildDiscarder option: @@ -17,14 +26,6 @@ pipeline{ } stages { - def remote = [:] - remote.name = 'workstation' - remote.host = 'workstation' - remote.user = 'dany' - remote.identityFile = '/var/jenkins_home/.ssh/id_rsa' - remote.allowAnyHosts = true - remote.agent = false - remote.logLevel = 'INFO' stage('Test') { sh '''