Mise à jour de 'Jenkinsfile'

This commit is contained in:
dany 2022-08-01 11:29:57 +02:00
parent d1619cde26
commit 35623c8ab6

17
Jenkinsfile vendored
View File

@ -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 '''