Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary workspace is not clear #593

Open
cdupont opened this issue Nov 24, 2021 · 1 comment
Open

Temporary workspace is not clear #593

cdupont opened this issue Nov 24, 2021 · 1 comment
Assignees
Labels
documentation Documentation updates

Comments

@cdupont
Copy link

cdupont commented Nov 24, 2021

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?

@cdupont cdupont added the documentation Documentation updates label Nov 24, 2021
@cdupont cdupont changed the title temporary Workspace is not clear Temporary workspace is not clear Nov 24, 2021
@oleg-nenashev oleg-nenashev self-assigned this Jan 8, 2022
@oleg-nenashev
Copy link
Member

All fair points. To be addressed n the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation updates
Projects
None yet
Development

No branches or pull requests

2 participants