Error: wrapper script does not seem to be touching the log file in /Users/ec2-user/.jenkins/workspace/iosbuild/ipatestsample@tmp/durable-b780823b

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’ }
}

    }

}

}

Hi there,

“it doesn’t work” is always hard to remote debug. Try to always include these 3 things.

  1. what did you try? (Code samples, command lines, screenshots, videos, etc)
  2. what did happen? (Error messages, description, outputs, stuff)
  3. what did you expect to happen?

Otherwise, it’s hard for us to get into your context and you’ll have to have someone who is exactly knowledgeable come along.

2 Likes

*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:

  1. Navigate to project location in the terminal
  2. Execute below commands to generate iOS build (kar file)
    npm install
    node build.js -kvv 9.3.11

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.