Cannot find .Jenkins folder when creating custom workspace










0














Question 1:



I'm on a Mac OS and trying set up a custom workspace on Jenkins. I've looked up some guides telling me that I should use $JENKINS_HOME/SomeProjectFolder.



The location of $JENKINS_HOME, as I understand it, is the .Jenkins folder at /Users/userName/.Jenkins. So $JENKINS_HOME effectively points to /Users/userName/.Jenkins. However, on my computer I don't see this.




Question 2:



I'm a little unsure as to whether I have the right paths for my JAVA_HOME and MAVEN_HOME in the Global Tool Configuration so just want to confirm that what I did is correct.



For each, I got the file path by entering 'echo $JAVA_HOME’ and 'echo $M2', respectively. I'm having doubts because I was thinking that the jdk path would end with the jdk itself. The paths shown are '/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home' and '/usr/local/apache-maven-3.6.0/bin'.



Thanks!










share|improve this question























  • Check if /User/Shared/Jenkins/Home is your JENKINS_HOME dir ?
    – ben5556
    Nov 12 '18 at 22:41










  • @ben5556 Yea that's what I have set as my home directory. I ran it again and I got a different error which relates to my second question: "Building in workspace /Users/Shared/Jenkins/Home/MavenTest FATAL: Couldn’t find any executable in /usr/local/apache-maven-3.6.0/bin Build step 'Invoke top-level Maven targets' marked build as failure Finished: FAILURE" What would be the proper path that provides the necessary executable?
    – Jacob L
    Nov 12 '18 at 22:54











  • Your JAVA_HOME path looks correct. How did you install maven ? What is the output of mvn -v ?
    – ben5556
    Nov 12 '18 at 23:15










  • @ben5556 I get '/usr/local/Cellar/maven/3.5.2/libexec' which I've updated in my Jenkins configurations. I think it's working as I'm not getting an error regarding the Maven path. However, I am getting one relating to permissions: 'Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project my-app: Error while storing the mojo status: /Users/Shared/Jenkins/Home/MavenTest/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst (Permission denied) -> [Help 1]'
    – Jacob L
    Nov 13 '18 at 14:38










  • I found a thread here: social.msdn.microsoft.com/Forums/vstudio/en-US/… that speaks to it but am unsure as to how to change source control to exclude the 'target' folder. Any help would be appreciated!
    – Jacob L
    Nov 13 '18 at 14:55















0














Question 1:



I'm on a Mac OS and trying set up a custom workspace on Jenkins. I've looked up some guides telling me that I should use $JENKINS_HOME/SomeProjectFolder.



The location of $JENKINS_HOME, as I understand it, is the .Jenkins folder at /Users/userName/.Jenkins. So $JENKINS_HOME effectively points to /Users/userName/.Jenkins. However, on my computer I don't see this.




Question 2:



I'm a little unsure as to whether I have the right paths for my JAVA_HOME and MAVEN_HOME in the Global Tool Configuration so just want to confirm that what I did is correct.



For each, I got the file path by entering 'echo $JAVA_HOME’ and 'echo $M2', respectively. I'm having doubts because I was thinking that the jdk path would end with the jdk itself. The paths shown are '/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home' and '/usr/local/apache-maven-3.6.0/bin'.



Thanks!










share|improve this question























  • Check if /User/Shared/Jenkins/Home is your JENKINS_HOME dir ?
    – ben5556
    Nov 12 '18 at 22:41










  • @ben5556 Yea that's what I have set as my home directory. I ran it again and I got a different error which relates to my second question: "Building in workspace /Users/Shared/Jenkins/Home/MavenTest FATAL: Couldn’t find any executable in /usr/local/apache-maven-3.6.0/bin Build step 'Invoke top-level Maven targets' marked build as failure Finished: FAILURE" What would be the proper path that provides the necessary executable?
    – Jacob L
    Nov 12 '18 at 22:54











  • Your JAVA_HOME path looks correct. How did you install maven ? What is the output of mvn -v ?
    – ben5556
    Nov 12 '18 at 23:15










  • @ben5556 I get '/usr/local/Cellar/maven/3.5.2/libexec' which I've updated in my Jenkins configurations. I think it's working as I'm not getting an error regarding the Maven path. However, I am getting one relating to permissions: 'Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project my-app: Error while storing the mojo status: /Users/Shared/Jenkins/Home/MavenTest/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst (Permission denied) -> [Help 1]'
    – Jacob L
    Nov 13 '18 at 14:38










  • I found a thread here: social.msdn.microsoft.com/Forums/vstudio/en-US/… that speaks to it but am unsure as to how to change source control to exclude the 'target' folder. Any help would be appreciated!
    – Jacob L
    Nov 13 '18 at 14:55













0












0








0


0





Question 1:



I'm on a Mac OS and trying set up a custom workspace on Jenkins. I've looked up some guides telling me that I should use $JENKINS_HOME/SomeProjectFolder.



The location of $JENKINS_HOME, as I understand it, is the .Jenkins folder at /Users/userName/.Jenkins. So $JENKINS_HOME effectively points to /Users/userName/.Jenkins. However, on my computer I don't see this.




Question 2:



I'm a little unsure as to whether I have the right paths for my JAVA_HOME and MAVEN_HOME in the Global Tool Configuration so just want to confirm that what I did is correct.



For each, I got the file path by entering 'echo $JAVA_HOME’ and 'echo $M2', respectively. I'm having doubts because I was thinking that the jdk path would end with the jdk itself. The paths shown are '/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home' and '/usr/local/apache-maven-3.6.0/bin'.



Thanks!










share|improve this question















Question 1:



I'm on a Mac OS and trying set up a custom workspace on Jenkins. I've looked up some guides telling me that I should use $JENKINS_HOME/SomeProjectFolder.



The location of $JENKINS_HOME, as I understand it, is the .Jenkins folder at /Users/userName/.Jenkins. So $JENKINS_HOME effectively points to /Users/userName/.Jenkins. However, on my computer I don't see this.




Question 2:



I'm a little unsure as to whether I have the right paths for my JAVA_HOME and MAVEN_HOME in the Global Tool Configuration so just want to confirm that what I did is correct.



For each, I got the file path by entering 'echo $JAVA_HOME’ and 'echo $M2', respectively. I'm having doubts because I was thinking that the jdk path would end with the jdk itself. The paths shown are '/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home' and '/usr/local/apache-maven-3.6.0/bin'.



Thanks!







jenkins jenkins-plugins






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 12 '18 at 22:27

























asked Nov 12 '18 at 21:30









Jacob L

33




33











  • Check if /User/Shared/Jenkins/Home is your JENKINS_HOME dir ?
    – ben5556
    Nov 12 '18 at 22:41










  • @ben5556 Yea that's what I have set as my home directory. I ran it again and I got a different error which relates to my second question: "Building in workspace /Users/Shared/Jenkins/Home/MavenTest FATAL: Couldn’t find any executable in /usr/local/apache-maven-3.6.0/bin Build step 'Invoke top-level Maven targets' marked build as failure Finished: FAILURE" What would be the proper path that provides the necessary executable?
    – Jacob L
    Nov 12 '18 at 22:54











  • Your JAVA_HOME path looks correct. How did you install maven ? What is the output of mvn -v ?
    – ben5556
    Nov 12 '18 at 23:15










  • @ben5556 I get '/usr/local/Cellar/maven/3.5.2/libexec' which I've updated in my Jenkins configurations. I think it's working as I'm not getting an error regarding the Maven path. However, I am getting one relating to permissions: 'Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project my-app: Error while storing the mojo status: /Users/Shared/Jenkins/Home/MavenTest/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst (Permission denied) -> [Help 1]'
    – Jacob L
    Nov 13 '18 at 14:38










  • I found a thread here: social.msdn.microsoft.com/Forums/vstudio/en-US/… that speaks to it but am unsure as to how to change source control to exclude the 'target' folder. Any help would be appreciated!
    – Jacob L
    Nov 13 '18 at 14:55
















  • Check if /User/Shared/Jenkins/Home is your JENKINS_HOME dir ?
    – ben5556
    Nov 12 '18 at 22:41










  • @ben5556 Yea that's what I have set as my home directory. I ran it again and I got a different error which relates to my second question: "Building in workspace /Users/Shared/Jenkins/Home/MavenTest FATAL: Couldn’t find any executable in /usr/local/apache-maven-3.6.0/bin Build step 'Invoke top-level Maven targets' marked build as failure Finished: FAILURE" What would be the proper path that provides the necessary executable?
    – Jacob L
    Nov 12 '18 at 22:54











  • Your JAVA_HOME path looks correct. How did you install maven ? What is the output of mvn -v ?
    – ben5556
    Nov 12 '18 at 23:15










  • @ben5556 I get '/usr/local/Cellar/maven/3.5.2/libexec' which I've updated in my Jenkins configurations. I think it's working as I'm not getting an error regarding the Maven path. However, I am getting one relating to permissions: 'Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project my-app: Error while storing the mojo status: /Users/Shared/Jenkins/Home/MavenTest/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst (Permission denied) -> [Help 1]'
    – Jacob L
    Nov 13 '18 at 14:38










  • I found a thread here: social.msdn.microsoft.com/Forums/vstudio/en-US/… that speaks to it but am unsure as to how to change source control to exclude the 'target' folder. Any help would be appreciated!
    – Jacob L
    Nov 13 '18 at 14:55















Check if /User/Shared/Jenkins/Home is your JENKINS_HOME dir ?
– ben5556
Nov 12 '18 at 22:41




Check if /User/Shared/Jenkins/Home is your JENKINS_HOME dir ?
– ben5556
Nov 12 '18 at 22:41












@ben5556 Yea that's what I have set as my home directory. I ran it again and I got a different error which relates to my second question: "Building in workspace /Users/Shared/Jenkins/Home/MavenTest FATAL: Couldn’t find any executable in /usr/local/apache-maven-3.6.0/bin Build step 'Invoke top-level Maven targets' marked build as failure Finished: FAILURE" What would be the proper path that provides the necessary executable?
– Jacob L
Nov 12 '18 at 22:54





@ben5556 Yea that's what I have set as my home directory. I ran it again and I got a different error which relates to my second question: "Building in workspace /Users/Shared/Jenkins/Home/MavenTest FATAL: Couldn’t find any executable in /usr/local/apache-maven-3.6.0/bin Build step 'Invoke top-level Maven targets' marked build as failure Finished: FAILURE" What would be the proper path that provides the necessary executable?
– Jacob L
Nov 12 '18 at 22:54













Your JAVA_HOME path looks correct. How did you install maven ? What is the output of mvn -v ?
– ben5556
Nov 12 '18 at 23:15




Your JAVA_HOME path looks correct. How did you install maven ? What is the output of mvn -v ?
– ben5556
Nov 12 '18 at 23:15












@ben5556 I get '/usr/local/Cellar/maven/3.5.2/libexec' which I've updated in my Jenkins configurations. I think it's working as I'm not getting an error regarding the Maven path. However, I am getting one relating to permissions: 'Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project my-app: Error while storing the mojo status: /Users/Shared/Jenkins/Home/MavenTest/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst (Permission denied) -> [Help 1]'
– Jacob L
Nov 13 '18 at 14:38




@ben5556 I get '/usr/local/Cellar/maven/3.5.2/libexec' which I've updated in my Jenkins configurations. I think it's working as I'm not getting an error regarding the Maven path. However, I am getting one relating to permissions: 'Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project my-app: Error while storing the mojo status: /Users/Shared/Jenkins/Home/MavenTest/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst (Permission denied) -> [Help 1]'
– Jacob L
Nov 13 '18 at 14:38












I found a thread here: social.msdn.microsoft.com/Forums/vstudio/en-US/… that speaks to it but am unsure as to how to change source control to exclude the 'target' folder. Any help would be appreciated!
– Jacob L
Nov 13 '18 at 14:55




I found a thread here: social.msdn.microsoft.com/Forums/vstudio/en-US/… that speaks to it but am unsure as to how to change source control to exclude the 'target' folder. Any help would be appreciated!
– Jacob L
Nov 13 '18 at 14:55

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53270389%2fcannot-find-jenkins-folder-when-creating-custom-workspace%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53270389%2fcannot-find-jenkins-folder-when-creating-custom-workspace%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

政党