Jenkins is installed on Solaris machine. I need to run some .bat file that is located on some windows machine .How can I create that specific job in Jenkins?

2016-02-24 Thread Rahul Raj
Jenkins is installed on Solaris machine. I need to run some .bat file that is located on some windows machine .How can I create that specific job in Jenkins? (Note that Jenkins is located on Solaris machine). -- You received this message because you are subscribed to the Google Groups "Jenki

Re: cant push to git-repo of scriplter plugin

2016-02-24 Thread s . stautz85
Sadly your are wrong. The instructions from the plugin-side are: "This Git repository exposes a directory of scriptler via Git repository. Anyone can pull/clone this repository, but only the administrators can push. " Sounds to me i have to handle it like a normal remote repo. I'm the administra

deploy and run JAR file with Tomcat

2016-02-24 Thread joeT
How can I run jar file which has Tomcat inside? Need something like: java -jar jarfile Need only run and mark as successful. Once I close the job - Tomcat ends :( -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group

Re: Jenkins is installed on Solaris machine. I need to run some .bat file that is located on some windows machine .How can I create that specific job in Jenkins?

2016-02-24 Thread Victor Martinez
Hi Rahul, You need to create a Jenkins slave based on that windows machine - https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines Then you will be able to create a Jenkins job with a 'Execute Windows batch command' build step Cheers On Wednesday,

Re: cant push to git-repo of scriplter plugin

2016-02-24 Thread Victor Martinez
Then I misunderstood your query, I thought you wanted to push directly to https://github.com/jenkinsci/jenkins-scripts/tree/master/scriptler Sorry about that, likely you might need On Wednesday, 24 February 2016 08:08:35 UTC, s.sta...@gmail.com wrote: > > Sadly your are wrong. > The instruction

Re: cant push to git-repo of scriplter plugin

2016-02-24 Thread Victor Martinez
Then I misunderstood your query, I thought you wanted to push directly to https://github.com/jenkinsci/jenkins-scripts/tree/master/scriptler Sorry about that Cheers On Wednesday, 24 February 2016 08:08:35 UTC, s.sta...@gmail.com wrote: > > Sadly your are wrong. > The instructions from the plugi

Re: Any way to affect the recipient of the mail(ext) plugin recipient list ?

2016-02-24 Thread busieliraz
Hi I'm trying to add pre-send script and modify the recipients list using groovy just like you mentioned , but I can't find relevant wiki for this. Where I can see the API I can use inside the script. only saw examples using 'build' and using 'User' APIs. is there any build.Recipients = /***/ ?

Re: Any way to affect the recipient of the mail(ext) plugin recipient list ?

2016-02-24 Thread Slide
There is a 'msg' object that is an instance of MimeMessage [1]. The 'build' object is an AbstractBuild [2] instance. To modify the recipients, you would want to do stuff with the 'msg' object. 1 - http://geronimo.apache.org/maven/specs/geronimo-javamail_1.4_spec/1.6/apidocs/javax/mail/internet/Mi

Re: Any way to affect the recipient of the mail(ext) plugin recipient list ?

2016-02-24 Thread geoffroy . jabouley
Hello we use this script in the presend part of EmailExt plugin. It will change the sender email address, if an environment variable is set. I think you can easily adapt it to your needs import javax.mail.Message.RecipientType > import javax.mail.Address > import javax.mail.internet.InternetAddre

Jenkins CLI

2016-02-24 Thread Hector Magnanao
I'm trying to use the Jenkins CLI in Windows by issuing the command: java -jar Jenkins-cli -s build 'test' and it keeps returning an error saying no such job ''test'' I know that the job exists so can someone tell me what I could be doing wrong ? -- You received this message because you are s

Re: Under Jenkins SignTool Error "No certificates were found", works fine logged on as user

2016-02-24 Thread Ed of the Mountain
Each slave has it's own USB DigiCert token. - I have multiple Jenkins slaves running on a common virtual machine host. - I have 1 dedicated USB DigiCert token dedicated to the Windows build slave VM - I have a second dedicated USB DigiCert token dedicated to the OS X build sla

Gatling reports stopped working after Jenkins update

2016-02-24 Thread Johannes Eickhold
Hi, after we updated Jenkins to ver. 1.642.1 the Gatling reports (reachable via the Gatling plugin) stopped working. I get this errors on my browser's console: Blocked script execution in 'http://yyy:/me/my-views/view/All/job/Performance-Test/22/gatling/report/yyy/source/' because the doc

Re: Jenkins Git Plugin and Maven Release Builds

2016-02-24 Thread Michael Giroux
Coding is complete. I'm running it locally with desired results. See PR https://github.com/jenkinsci/git-plugin/pull/381 The implementation recognizes either an empty value or "**" which is used throughout the plugin for similar purposes. "**" is not a valid local branch name, so it will not

Re: Gatling reports stopped working after Jenkins update

2016-02-24 Thread Victor Martinez
Hi, Look at: - https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy Reason: - https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2015-12-09 Further details: - https://issues.jenkins-ci.org/browse/JENKINS-32026 Cheers On Wednesday, 24 February

Re: Cleaning up workspaces of old jobs on slaves

2016-02-24 Thread Victor Martinez
Have you considered to use http://javadoc.jenkins-ci.org/hudson/model/WorkspaceCleanupThread.html? Although I have not used it yet, since I've just found it You can configure it based on the following properties: hudson.model.WorkspaceCleanupThread.disabled false Don't clean up old workspace

Average build time/wait time across all jobs and builds on a Jenkins master for a given time period

2016-02-24 Thread 'SU' via Jenkins Users
Hello all, I am very new to Jenkins and the plugin environment. I want to display the average wait time, build time across all jobs and all builds on a given Jenkins Master for a given time period - lets say last 7 days. I have been looking in to the following 2 plugins 1. build-metrics-plugin

How do I configure a Jenkins job to push a file to a specific Windows server on the network?

2016-02-24 Thread Kiran
To me, this is the most simple Jenkins question possible: how do I transfer a file to a Windows server? I want to create a new job that does this. I have Jenkins installed on a Linux server. I have plugins such as "SSH" and "Publish Over SSH" installed. Jenkins can run builds on itself. I wa

How could I add the content of a file to message body of email ?

2016-02-24 Thread mojianc
Now I want to put the content of a file such as the txt to mssage body of email. I use the variable "${FILE,path="xxx.txt"}" in Email Extension Plugin. But when I received e-mail I found that the Newline missing ! For example, the content of txt: http://translate.google.cn/ http://translate.goog

simple build (DSL) for pipeline plugin

2016-02-24 Thread Michael Neale
Hey I thought some may be interested in this Pipeline DSL enhancement (ie a plugin that enhances Jenkins pipeline) which is installable as a plugin: https://wiki.jenkins-ci.org/display/JENKINS/Simple+Build+For+Pipeline+Plugin - interested in thoughts/feedback (you use it where you would use a

Re: How could I add the content of a file to message body of email ?

2016-02-24 Thread Slide
I can't see the text you are referring to. What is the mime type you choose for the email? On Wed, Feb 24, 2016, 18:28 wrote: > Now I want to put the content of a file such as the txt to mssage body of > email. I use the variable "${FILE,path="xxx.txt"}" in Email Extension > Plugin. But when I

Re: Jenkins is installed on Solaris machine. I need to run some .bat file that is located on some windows machine .How can I create that specific job in Jenkins?

2016-02-24 Thread Rahul Raj
Hi victor, Thank you for your reply. I tried to connect as u said but am getting connection termination error. please help me to resolve this am attaching the screen shot. Hi Rahul, You need to create a Jenkins slave based on that windows machine - https://wiki.jenkins-ci.org/display/JENKINS/Step+

Re: Jenkins is installed on Solaris machine. I need to run some .bat file that is located on some windows machine .How can I create that specific job in Jenkins?

2016-02-24 Thread Victor Martinez
Hi 'Connection reset by peer' might require some debugging and verify your network settings and firewall rules, there are some other jira details in the below URL: https://www.google.co.uk/search?q=jenkins+connection+reset+by+peer I hope it helps Cheers -- You received this message because yo