Mise à jour de 'Jenkinsfile'
This commit is contained in:
parent
d1619cde26
commit
35623c8ab6
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -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{
|
pipeline{
|
||||||
options {
|
options {
|
||||||
// Limit build history with buildDiscarder option:
|
// Limit build history with buildDiscarder option:
|
||||||
@ -17,14 +26,6 @@ pipeline{
|
|||||||
}
|
}
|
||||||
stages
|
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')
|
stage('Test')
|
||||||
{
|
{
|
||||||
sh '''
|
sh '''
|
||||||
|
Loading…
Reference in New Issue
Block a user