When I run a freestyle project in Jenkins server, here are the first two lines from the logs:
Started by user {username}
Running as SYSTEM
Question: What is SYSTEM referring to here? Is it root user?
I am trying to write pipeline script for the above mentioned freestyle project in Jenkins and here is the first few lines of its log.
Started by user {username}
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/test-pipeline
Question: I don't think it is Running as SYSTEM. It must be running as JENKINS user. I see some projects that I am trying to convert from free style to pipeline scripts are failing due to reasons like "acl not found" or "npm install issues". When I run free style projects, they run without any issues. Any idea how I can let the pipeline scripts Run as SYSTEM?