Hi All,

Currently I'm having an Issue with jenkins Hearbeat Timeout, during my 
build stage within a Pipeline: Within my build Stage I'm after adding in a 
System.setPropery but still this doesn't seem to dealing with the Timout of 
10Mins

  stage('Creating Virutal Machine'){
            script {
                System.setProperty(
"org.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL"
, "86400");
                
            }
         withCredentials([usernamePassword(credentialsId: '', 
passwordVariable: 'local_pass', usernameVariable: 'local_user'), 
usernamePassword(credentialsId: 'ServiceAccount', passwordVariable: 'pass', 
usernameVariable: 'user')]) { 
             if (params.Second_Drive == "Yes" ) {
                sh label: '', script: '''ansible-playbook create_vm1.yaml 
 --extra-vars "vcenter='$vCenter' password=$pass cluster='$Cluster' 
datacenter='$DataCenter' VM_Name='$Virtual_Machine_Name' template='$Template' 
datastore='$DataStore' network_name='$Network' ip=$IP_ADDRESS 
domain=$Domain netmask=$Netmask gateway=$Gateway local_pass=$local_pass 
mb=$RAM cpu=$CPU"'''
             }
             else {
                 sh label: '', script: '''ansible-playbook create_vm.yaml 
 --extra-vars "vcenter='$vCenter' password=$pass cluster='$Cluster' 
datacenter='$DataCenter' VM_Name='$Virtual_Machine_Name' template='$Template' 
datastore='$DataStore' network_name='$Network' ip=$IP_ADDRESS 
domain=$Domain netmask=$Netmask gateway=$Gateway local_pass=$local_pass 
mb=$RAM cpu=$CPU"'''
             } 
         }
    }

But most of the time the jobs within Jenkins seems to Error out / Time out 
with the following: 



TASK [Virtual Machine customization] *******************************************
wrapper script does not seem to be touching the log file in 
/var/jenkins_home/workspace/vSphere/Virtual Machine 
Creation@tmp/durable-7b8a591f
(JENKINS-48300: if on an extremely laggy filesystem, consider 
-Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/149f008d-8623-43d9-88eb-2a56d5f662c9%40googlegroups.com.

Reply via email to