Could not find or load main class –Xmx512m

2017-06-12 Thread Arthi Pargunan
Hi i am new to Jenkins.. When i give build now i am getting Could not find or load main class –Xmx512m .. Can anyone help me to resolve this? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop r

Re: Could not find or load main class –Xmx512m

2017-06-12 Thread Ramanathan Muthaiah
> >i am new to Jenkins.. > > When i give build now i am getting Could not find or load main class > –Xmx512m .. Can anyone help me to resolve this? > I think it may be helpful to share details of the jenkins build job that's failing, info about usage of any special plugins. /Ram -- Y

Re: Same git repo with multiple jenkins job creating build problems

2017-06-12 Thread Gopi Polisetti
I tried ""Additional Behaviours" option this will not work for multiple project changes My project structure is like same repo it has multiple solutions. so I have created multiple Jenkins job but if any code changes in any of the project under same repo then all jenkin jobs got triggered , this

Reuse at PostBuild Windows Batch Command Variables

2017-06-12 Thread Oparlescu Vlad
Dear Jenkins users, Is there any Jenkins class that can provide a method /field to retrieve the Jenkins Windows Batch Variables. I would need to retrieve the values of variables set at build Step and use them later in a PostBuild plugin. I would like to reuse the following values:

Re: Could not find or load main class –Xmx512m

2017-06-12 Thread Arthi Pargunan
Thanks Ram.. But i have fixed that issue and facing the new issue On Monday, June 12, 2017 at 12:15:05 AM UTC-7, Arthi Parg

XL Deploy plugin not listing the credentials

2017-06-12 Thread Ranjith Kumar
I am trying to use XL deploy plugin to deploy my project to a remote server in AWS. I have added my .pem file with secret file option in credentials, but the newly added credentials is not listed in the Manage Jenkins --> Configure System --> XL Deploy Plugin. Please find the screenshots below.

Injecting environment variables - sourcing shell script

2017-06-12 Thread Victoria Kozel
Hello, I need to use a certain variable in my Shell Build Step that is figured in a shell script stored on the node. When I "source" this script in the same step in which I need the variable, it works. However sourcing it in the EnvInject step under Build Environment phase does not seem to tra

Re: Injecting environment variables - sourcing shell script

2017-06-12 Thread Eric Pyle
The help for "Script Content" confirms that it can't be used to set environment variables for the build. But you should be able to specify the path to your shell script in "Properties File Path" instead. On 6/12/2017 1:49 PM, Victoria Kozel wrote: Hello, I need to use a certain variable in my

RE: Injecting environment variables - sourcing shell script

2017-06-12 Thread Jackson, Randy
Have you looked at the Environment Script Plugin? I use it to generate parameters that I need to use later in my builds. https://wiki.jenkins.io/display/JENKINS/Environment+Script+Plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Victori

Re: Declarative multibranch pipeline: StackOverflowException after trying to specify agent label

2017-06-12 Thread Andrew Bayer
Or just install the now-released 1.1.6. Everything does have to build to get fixed, but you can bypass that by running the script at https://issues.jenkins-ci.org/browse/JENKINS-44809?focusedCommentId=302837&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-302837 in t

Using local directory path for build instead of git url?

2017-06-12 Thread Jojan PM
Hi, Will it be possible to use a local project directory path instead of git url in build configuration, and then click 'Build Now' button which will run a given command in that directory? I am basically aiming logging all the runs of a project here, for e.g. to log the environment variables us

Re: Using local directory path for build instead of git url?

2017-06-12 Thread Ramanathan Muthaiah
> > Will it be possible to use a local project directory path instead of git > url in build configuration, and then click 'Build Now' button which will > run a given command in that directory? > I am basically aiming logging all the runs of a project here, for e.g. to > log the environment vari

Posting comments on a jenkins build

2017-06-12 Thread SACHIN V
Hi All, Could you please tell if it is possible to post a comment on a jenkins build ? Regards, Sachin -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkin