jshint_cli command failing in Jenkins

2014-01-13 Thread Simona Avornicesei
Hi all, I have a Jenkins 1.546 instance installed as a service on a W7 machine. It runs under a local admin account, the same account I use to RDP into that machine. I installed nodejs v 0.10.24. In one of the jobs I'm running the following build steps as windows batch command: batch command 1:

Re: jshint_cli command failing in Jenkins

2014-01-14 Thread Simona Avornicesei
Hi Daniel, It works if using CALL jshint --verbose --reporter=checkstyle ./MyProject/app 1> checkstyle-jshint.xml && exit 0 You really put me on the right track! It never crossed my mind that jshint errors if it finds violations. Thanks! -- You received this message because you are subscribe

EnvInject - groovy script in Jenkins 2.x

2016-07-22 Thread Simona Avornicesei
Hello, I have an old groovy script that I've been using to inject some env. variables into the job. It run nicely under Jenkins 1.x, on the master Jenkins instance. Now we've moved to a Jenkins cluster and Jenkins 2.x and the script fails to get a valid workspace for the current build (the job

Re: EnvInject - groovy script in Jenkins 2.x

2016-07-28 Thread Simona Avornicesei
Hello, I modified the script to use FilePath (since the job runs on a remote agent and, from my understanding, the groovy script is executed on master) - here 's the updated gist When run from Scriptler, I get the followin

Re: How Do You Manage Growth?

2016-07-28 Thread Simona Avornicesei
We have a single Jenkins master. Depending on the needs of each team/project, they either have one or more slaves/agents assigned exclusively for their jobs or they share the same agent with other projects (usually projects from the same client). -- You received this message because you are su

Re: EnvInject - groovy script in Jenkins 2.x

2016-07-28 Thread Simona Avornicesei
A new update. I fixed the "The class 'FileSearch' has an incorrect modifier static." - the static class must be embedded in another class. Here's the gist . Now I'm left with 2 other issues: 1. at build time (isDebugMode =

Re: Slaves on Old OS's

2016-08-12 Thread Simona Avornicesei
What is the reason for keeping/using such old machines? -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view th

Re: How do I securely connect to Windows machines with Jenkins with as few plugins on the servers receiving the Jenkins builds as possible?

2016-08-19 Thread Simona Avornicesei
Are you referring to servers where you want to deploy code (e.g. web servers) or machines where to run your builds/Jenkins jobs? In the first case you have several options like psexec, ssh, signed powershell scripts (those require 2 win services to be started). In the second case, you need the J

Re: sonarQube, best way with jenkins2

2016-08-22 Thread Simona Avornicesei
You should use sonar scanner for MSBuild for .NET projects and sonar maven for java projects. On .NET part you'll need to install a lot of stuff. I could make you a list if it interests you. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. T

Re: Please provide feedback on the plugins site (work in progress)

2016-09-06 Thread Simona Avornicesei
Hi all, I find it weird the need to focus on the search box for the search criteria to show up (as a popup). It's a click wasted. I would have expected to have the filter criteria on the left side of the screen and default display to show the the most installed plugins. Also, the 2-letter ico