From Groovy script, SCM polling reports incorrect info if job makes its own checkins

2012-05-23 Thread joel
revision.txt to get updated after the mvn release finishes. Or maybe there's some other way to invoke checkout so that it updates revision.txt to match the workspace, rather than the other way around. Thanks. -Joel

Deploying Maven artifacts to GitHub packages

2020-07-04 Thread Joel Strasser
-shaded.jar. Return code is: 422, ReasonPhrase: Unprocessable Entity. -> [Help 1] The shaded artifact is online though. Running the same Maven command locally results with no error. Is this a problem with Jenkins, Maven or GitHub? (or me)? Regards, Joel -- You received this message because

FitNesse plugin builds always revert to localhost

2016-06-26 Thread Joel DeWitt
I am unable to run FitNesse tests on a remote host through JNLP. The Jenkins project console log shows the build up to that point is perfect, but then fails after the message: "running Fitnesse test on http://localhost..."; How is the remote host name or IP configured through JNLP? The plugin c

Re: Get-Content : Cannot find path

2016-12-02 Thread Joel Reed
There might be a couple possible explanations here. First and my guess at most likely cause is that "you" (meaning the Jenkins slave agent executing your code) does not have read access to your applicationHost.config and/or the config parent directory. In my fairly default environments only SYST

Re: Unable to find suitable ssh agent when trying to connect windows slave

2016-12-02 Thread Joel Reed
Not a lot of information on how your Jenkins master and/or slaves are configured. But you need to make sure that your Windows host is properly configured as a slave to your Jenkins master. Make sure that the host in question show a status of connected in Manage Jenkins > Manage Nodes. Typically

Re: pipeline : remote file operation on the windows slave no longer work

2016-12-05 Thread Joel Reed
This seemed to work for me: stage("Testing"){ node ("VS2013") { echo "Substage running on Windows" bat "echo user %USERDOMAIN%\\%USERNAME%" } } I don't know if it was your cut and paste or if you were in fact not properly encapsulating the stage { ... }. I would have expe

Re: Using @Grab to retrieve Groovy dependencies...

2015-09-17 Thread Joel Young
I ran into the same problem. I assume you're trying to do it in a System Groovy Script. If so, that's the problem. The System Groovy Scripts run under the version of Groovy built into Jenkins. In my case, it's 1.8.5. You'll probably need to run this in a non-system Groovy Script. Then you

Error while trying to run "source" command

2020-11-23 Thread Jibsan Joel Rosa Toirac
Hello every one, I'm trying o build a .war file using Grails. For this I already Installed Grails on my Jenkins Node and on the way I did it, before start using Grails commands form build the War, I have to set the source of the Grails Commands. I have to do: $ source "$HOME/.sdkman/bin/sdkman

Re: Error while trying to run "source" command

2020-11-25 Thread Jibsan Joel Rosa Toirac
Yes brother but it accept the command but do nothing El mié, 25 nov 2020 a las 9:43, zil...@gmail.com () escribió: > Have you tried > > $ sudo source "$HOME/.sdkman/bin/sdkman-init.sh" > > > On Monday, November 23, 2020 at 1:54:23 PM UTC-5 jibs...@gmail.com wrote: > >> >> Hello every one, I'm try

Re: Authorization on Multibranch Pipeline

2020-12-01 Thread Jibsan Joel Rosa Toirac
Well I solved the problem, I used "sudo" before the commands and it started to work, anyhow I ran the command "root/.sdkman/candidates/grails/3.3.2/bin/grails war" and all started to work. Thanks for your help El mar, 1 dic 2020 a las 10:30, Rishi Gautam () escribió: > Is there any way to enable

Couldn't find any revision to build. Verify the repository and branch configuration for this job

2020-10-16 Thread 'Joel Ng' via Jenkins Users
;master" branch, it only has a "development" branch. >From the docs (https://www.jenkins.io/doc/pipeline/steps/workflow-scm-step/) it says that leaving the branch empty means it will scan all branches, so I was expecting it to checkout the "development" branch. Bu

Re: Couldn't find any revision to build. Verify the repository and branch configuration for this job

2020-10-18 Thread 'Joel Ng' via Jenkins Users
I think that you want to use the > branch that was already determined by the multibranch pipeline that started > the job. So long as you are inside a multibranch pipeline, the settings > for the > > On Fri, Oct 16, 2020 at 6:07 AM 'Joel Ng' via Jenkins Users < > je