Re: How to set "configure release build" in Jenkins organization?

2017-12-06 Thread moonlightfil
and is there any other safe way to do this? On Thursday, December 7, 2017 at 11:04:13 AM UTC+8, Ramanathan Muthaiah wrote: > > I am using Jenkins organization for my pipeline jobs. and I want to add >> release plug into one of the jobs. as you know we can't change the >> configuration in organ

Re: How to set "configure release build" in Jenkins organization?

2017-12-06 Thread moonlightfil
do you mean to update the jenkins, and to add the release plugin configuration part to organization? On Thursday, December 7, 2017 at 11:04:13 AM UTC+8, Ramanathan Muthaiah wrote: > > I am using Jenkins organization for my pipeline jobs. and I want to add >> release plug into one of the jobs.

Re: Capture html just before an error execution?

2017-12-06 Thread Ana MB
Hola Victor, como veo que eres español te lo escribo en español!! Mira, necesito capturar un pantallazo de la pagina donde mi test se queda al fallar, simplemente para ver cuál es la ultima pagina que visita cuando casca al hacer determinada acción que le provoque un fallo. Pero como es un fall

Re: How to set "configure release build" in Jenkins organization?

2017-12-06 Thread Ramanathan Muthaiah
> > I am using Jenkins organization for my pipeline jobs. and I want to add > release plug into one of the jobs. as you know we can't change the > configuration in organization job. the only way can do this is using groovy > method. but I can't find any useful method for this. > > any suggesti

Re: location of email-ext template file

2017-12-06 Thread Chris T
Just to narrow down possible failure points, I did make a simple free style job where I added in the same command in the default content box of the editable email notification. And got same results as in my pipeline. On Wednesday, December 6, 2017 at 4:26:12 PM UTC-5, slide wrote: > > Yes, that

Re: "Jenkins is going to shut down" ad infinitum

2017-12-06 Thread Brian Ray
We ran into the same problem under what sounds like the same circumstances a few years back. We initially configured thinBackup with the *Wait until...* switch turned on and had no issues for a very long time. And then we wound up in the trap you describe. I dug around and realized certain of o

Re: location of email-ext template file

2017-12-06 Thread Chris T
The plugins were install a while ago, and have been restarted (at least a few times) since then. On Wednesday, December 6, 2017 at 5:02:04 PM UTC-5, Daniel Beck wrote: > > > > On 6. Dec 2017, at 19:42, Chris T > > wrote: > > > > So yes I do have config-file-provider plugin installed. > > Hav

Pushing freestyle build artifacts to Bitbucket cloud instance

2017-12-06 Thread Ioannis Moutsatsos
Greetings; I need to push build artifacts to a cloud instance of Atlassian Bitbucket. I've considered the Pubish-to-Bitbucket Jenkins plugin but it does not seem to handle proxies gracefully and fails to connect to the cloud

Re: location of email-ext template file

2017-12-06 Thread Daniel Beck
> On 6. Dec 2017, at 19:42, Chris T wrote: > > So yes I do have config-file-provider plugin installed. Have you restarted Jenkins since you installed either of these plugins? Optional features may not be available otherwise. -- You received this message because you are subscribed to the Goog

Re: location of email-ext template file

2017-12-06 Thread Slide
Yes, that is the point. I'm not sure why it isn't working for you, I am using pretty much the same thing in my setup and it works (though I am not sure I have tried from a pipeline job). On Wed, Dec 6, 2017 at 1:28 PM Chris T wrote: > I thought the point of config-file-provider plugin was so we

Re: location of email-ext template file

2017-12-06 Thread Chris T
I thought the point of config-file-provider plugin was so we don't have to store the template in the $JENKINS_HOME/email-templates? On Wednesday, December 6, 2017 at 3:08:43 PM UTC-5, jer...@bodycad.com wrote: > > For security reason I was told, the template must reside on the master > (you can

Re: location of email-ext template file

2017-12-06 Thread Chris T
I originally had the template name without ".jelly", but got same (not working) results. On Wednesday, December 6, 2017 at 3:01:42 PM UTC-5, slide wrote: > > Just for kicks, can you try removing .jelly from the name of the template? > > On Wed, Dec 6, 2017 at 12:27 PM Chris T > wrote: > >> Thank

NodeLabel Parameter Plugin with Scripted pipeline

2017-12-06 Thread jerome
Is anybody can point me to some info or an how to use the node and label parameter. I can make it work with a choice list but I would rather make it work with the plugin if possible with proper default value. -- You received this message because you are subscribed to the Google Groups "Jenkin

Re: location of email-ext template file

2017-12-06 Thread jerome
For security reason I was told, the template must reside on the master (you can stash it and unstash it into the email template folder on the master or you can read it and write it on master node): node('master') { writeFile([file: "${JENKINS_HOME}/email-templates/mytempofile.jelly", text: 't

Re: location of email-ext template file

2017-12-06 Thread Slide
Just for kicks, can you try removing .jelly from the name of the template? On Wed, Dec 6, 2017 at 12:27 PM Chris T wrote: > Thanks slide on the fast response! > So yes I do have config-file-provider plugin installed. > I've attached screenshots of screenshots of my set up. > > In my pipeline Jen

Setting up security

2017-12-06 Thread John E Peterson
Before I break anything, I need to clarify something about setting up Active Directory authentication. Actually setting up the domain seems straight forward. But... It asks for a backup user (Jenkins Own Directory), so I type in jpeterson. Ok? I have been using NO security. So, how does it

RE: EXTERNAL: Failed to connect to repository : Command "git.exe ls-remote -h

2017-12-06 Thread Joaquin Henriquez
Think where git.exe is connecting to and you will have your answer. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Leslie Dey Murray Sent: 06 December 2017 17:21 To: Jenkins Users Subject: EXTERNAL: Re: EXTERNAL: Failed to connect to repository : Com

Re: location of email-ext template file

2017-12-06 Thread Slide
Do you have the config-file-provider plugin installed? If so, you specify the NAME of the template that you create in the managed scripts area of the global configuration after managed: On Wed, Dec 6, 2017 at 10:24 AM Chris T wrote: > And how is "config-file-provider" used? > > In the emailext:

Re: EXTERNAL: Failed to connect to repository : Command "git.exe ls-remote -h

2017-12-06 Thread Leslie Dey Murray
I did enter my uid and password, but I still get the error. Should it be the uid and password for GitHub or Jenkins? On Wednesday, December 6, 2017 at 11:30:51 AM UTC-5, Joaquin Henriquez wrote: > > From ready your output: > > Caused by: hudson.plugins.git.GitException: Command "git.exe fetch -

Re: location of email-ext template file

2017-12-06 Thread Chris T
And how is "config-file-provider" used? In the emailext: body: '${JELLY_SCRIPT, template="managed:"}', or body: '${SCRIPT, template="managed:"}', But this isn't working for me. On Sunday, March 1, 2015 at 4:16:19 PM UTC-5, slide wrote: > > The other option is if you install the config-file-pro

Re: Promote build when... option not shown in job config

2017-12-06 Thread Chris White
I see, how frustrating - isn't pipelines meant to be where Jenkins is encouraging people to move towards - 'Pipelines as code' For future reference for people finding this: https://issues.jenkins-ci.org/browse/JENKINS-36089 -- You received this message because you are subscribed to the Google

RE: EXTERNAL: Failed to connect to repository : Command "git.exe ls-remote -h

2017-12-06 Thread Joaquin Henriquez
>From ready your output: Caused by: hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress http://github.elguardia.net/MRAApps/TestRepo +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: remote: Invalid username or password. fatal: Authentication

Failed to connect to repository : Command "git.exe ls-remote -h

2017-12-06 Thread Leslie Dey Murray
Can someone help me figure out what the problem is with my connection. I can't figure it out :-( Building in workspace C:\windows\system32\config\systemprofile\.jenkins\workspace\TestRepo-Freestyle Project > git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote

Re: Jenkis Trigger Nightwatch JS Automation Testing

2017-12-06 Thread Victor Martinez
It seems this particular question was somehow asked a year or so ago: - https://groups.google.com/forum/#!topic/nightwatchjs/NrYk8vCMmII Although the above guide talks about using a freestyle job you might consider to move that freestyle setup to Pipelines. Cheers -- You received this message

How to set "configure release build" in Jenkins organization?

2017-12-06 Thread moonlightfil
I am using Jenkins organization for my pipeline jobs. and I want to add release plug into one of the jobs. as you know we can't change the configuration in organization job. the only way can do this is using groovy method. but I can't find any useful method for this. any suggestion will be app

Jenkis Trigger Nightwatch JS Automation Testing

2017-12-06 Thread Wong Peter
Hello to all, How to configure Jenkins to trigger automation testing script of Nightwatch? I would need a step by step guide. Thanks all. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emai

Re: java.lang.UnsupportedOperationException: Refusing to marshal org.codehaus.groovy.runtime.GStringImpl for security reasons

2017-12-06 Thread Ramanathan Muthaiah
> > what on earth does that message mean? > > Here is the code this seems to be happening to: > > class Notifications implements Serializable { > def context > def dataBlocks > def mailLists > def workspace > > // emailext body: 'my email body', subject: 'email subject',

Re: Need Help Getting host name

2017-12-06 Thread Ramanathan Muthaiah
> > I have a custom plugin which during the post-build phase needs the > hostname/IP address of the node where the build is executing, > > build.getExecutor().getOwner().getNode().toComputer().getHostName() > > I have been using the above method, but it does not give me the right host > name >

Re: Scenario for Jenkins Pipeline

2017-12-06 Thread Bill Dennis
Did you consider using a single declarative pipeline for this with multiple stages? If you make the agent declaration at main pipeline level, the same workspace should be used for each stage so no need to copy the 200MB of files around - see this stack overflow https://stackoverflow.com/questio