Hello,
the documentation states: "By default, Jenkinsfile Runner will use the directory containing the Jenkinsfile as the workspace for builds".
But I see that Jenkinsfile Runner instead creates a temporary workspace:
$ jenkinsfile-runner -p /var/lib/jenkins/plugins/ -w /home/cdupont/.jenkinsfile-runner/war/2.303.3
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/home/cdupont/.jenkinsfile-runner/war/2.303.3/WEB-INF/lib/guice-4.0.jar) to method java.lang.ClassLoader defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Started
Resume disabled by user, switching to high-performance, low-durability mode.
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /tmp/jenkinsfileRunner.tmp/jfr17689419855432207278.run/workspace/job
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] dir
Running in /tmp/jenkinsfileRunner.tmp/jfr17689419855432207278.run/workspace/job/Staging
...
So it's not clear.
I also see a step "Declarative: Checkout SCM". What does this stage do? How can it do any checkout, since I didn't provide a SCM yaml file?
Hello, the documentation states: "By default, Jenkinsfile Runner will use the directory containing the Jenkinsfile as the workspace for builds".
But I see that Jenkinsfile Runner instead creates a temporary workspace:
So it's not clear. I also see a step "Declarative: Checkout SCM". What does this stage do? How can it do any checkout, since I didn't provide a SCM yaml file?