Error:
wrapper script does not seem to be touching the log file in /Users/ec2-user/.jenkins/workspace/iosbuild/ipatestsample@tmp/durable-b780823b
Used Pipeline script:
pipeline {
agent any
stages {
stage('Hello')
{
steps {
dir("ipatestsample")
{ echo ‘Hello World’ sh ‘npm install’ sh ‘node build.js -kvv 9.3.11’ }
}
*What did we try:
We are trying to generate android and iOS build(kar file) build using Jenkins pipeline Job.
Code sample: we are using Kony mobile project to generate android and iOS build(kar file). → Please find the attached sample Kony mobile project.
Command Lines:
We are able to generate android(apk) and iOS build(kar) using Terminal(local build). Build we are getting error while generating android(apk) and iOS build(kar) using Jenkins
Steps to generate iOS build (kar file) using Terminal:
Pipeline Script Used in Jenkins:
Pipeline {
agent any
stages {
stage(‘Hello’)
{
steps {
dir(“ipatestsample”) {
echo ‘Hello World’
sh ‘npm install’
sh ‘node build.js -kvv 9.3.11’ }
}
}
}
}
What did Happens:
After executing npm install command, node build.js command is taking long time to execute and getting below mentioned error.
Error Message:
wrapper script does not seem to be touching the log file in /Users/ec2-user/.jenkins/workspace/iosbuild/ipatestsample@tmp/durable-b780823b
(JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
Log File-> Please find the attachment.
What did expect to happen:
Able to generate android and iOS build(kar file) build using Jenkins pipeline Job.