Re: Coverity integration with jenkins

2019-03-05 Thread Victor Martinez
https://community.synopsys.com/s/article/Integrations-Documentation-Synopsys-Coverity-Jenkins . might help you also the example provided in: https://community.synopsys.com/s/question/0D5343TcQQNCA3/how-to-use-coverity-with-jenkins2-and-jenkinsfiles cheers -- You received this message be

Re: Is there a trim method in the string parameter ?

2019-03-07 Thread Victor Martinez
It seems it's solved: - https://issues.jenkins-ci.org/browse/JENKINS-47115 What version of declarative do you use? -- 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 e

Re: Jenkins Performance loading slow

2019-03-18 Thread Victor Martinez
There are a couple of interesting articles/presentations to configure the JVM accordingly, see the below reply: - https://groups.google.com/d/msg/jenkinsci-users/T7F9FHzSYtY/xq5k9JdjBAAJ Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Re: SnakeYaml, or why is writeYaml Limited?

2019-03-25 Thread Victor Martinez
Something like the below snippet should work: import org.jenkinsci.plugins.pipeline.utility.steps.shaded.org.yaml.snakeyaml.Yaml @NonCPS def readYaml(data) { return (new Yaml()).dump(data) } println readYaml([name: "foo", surname: "bar", age: 1]) writeYaml implementation uses that particular

Re: Windows personal certificate and Jira plugin

2019-03-26 Thread Victor Martinez
I'd suggest to add a logger to gather as much details as possible using the UI: - https://wiki.jenkins.io/display/JENKINS/Logging IIRC, long time ago I had some issues with the Jira plugin something related with the restapi and login, but the only way I was able to debug what caused the issue w

Re: How to use the saveOutput option of emailext plugin in a pipeline

2019-03-27 Thread Victor Martinez
It should be stored in the root path of the workspace, according to the docs: https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/webapp/help/projectConfig/saveOutput.html#L3 The name of the file would be -.html, further details about the implementation: - https://github.com/jen

Re: How to use the saveOutput option of emailext plugin in a pipeline

2019-03-28 Thread Victor Martinez
You are right! I took the wrong path to search for the code but without reading the specific code for the pipeline itself. So it's not supported I'm afraid! Sorry If I mislead you -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Re: How to use the saveOutput option of emailext plugin in a pipeline

2019-03-28 Thread Victor Martinez
I just raised https://issues.jenkins-ci.org/browse/JENKINS-56794 -- 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. T

Is possible to detect scriptsecurity.sandbox.RejectedAccessException without running the pipeline?

2019-07-11 Thread Victor Martinez
Hi there, Not sure if this has been already discussed in the past, but I wonder if it is possible to proactively detect whether a specific pipeline got a blacklisted method without need to run the whole pipeline? So I guess there are benefits of knowing whether the pipeline does fulfil the req

Re: Git Commit Message as an Environment Variable

2019-11-22 Thread Victor Martinez
If GitHub is the provider there is an inprogress PR to support it: - https://github.com/jenkinsci/pipeline-github-plugin/pull/65 Although I have not gone further to add some UTs yet though. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To un

Re: durable-dbed1d4d/script.sh: Syntax error: "(" unexpected

2019-11-26 Thread Victor Martinez
Double quotes might be a bit tricky with the interpolation and gstring. I'd suggest move the script content to a file in your repo and just call the script using: sh label:"<-- Zipping files -->", script: "your_script.sh" I'd suggest to chmod 755 your_script.sh and add some shebang too. The ma

Re: Jenkins job dsl- any way to dry run before affecting changes?

2019-12-30 Thread Victor Martinez
I've just seen your comment in the open PR regarding https://issues.jenkins-ci.org/browse/JENKINS-27182 > What I want is for my seed job to first output what it's going to change and wait for user input, then if the user confirms make the changes IIUC, you would like to mimic a kind of code revi

Re: JobDSL: an example of configuring a bitbucket source trait of bitbucketForkDiscovery in the multibranchPipelineJob is wanted

2020-01-13 Thread Victor Martinez
You can use the dynamic DSL that it's specific for your installation, more precisely /plugin/job-dsl/api-viewer/index.html#method/jenkins.scm.api.SCMSource$$List.bitbucket Further det

Re: Build block time

2020-01-14 Thread Victor Martinez
Can you clarify what you mean to build block time? Not sure whether that's related to a critical region that you'd like to handle sequentially rather than concurrently, if so, https://plugins.jenkins.io/lockable-resources might be a good candidate, if that's not what you meant, then sorry abou

Re: Frequent "Disconnected computer for node" messages in jenkins logs

2020-02-14 Thread Victor Martinez
I've seen those stack traces with some other Cloud Node providers in Jenkins. Not sure if that's an implementation within the Jenkins core or the docker-plugin itself or some specific design. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Re: why my pipeline creates different workspaces?

2020-10-30 Thread Victor Martinez
Directories with an ampersand (like @tmp, @script, @libs, @2) are specifically created by the pipeline internals, each one got a different context. The ones with number are most likely related to a concurrent build running while other previous build is still running, to avoid clashing with acce

Re: How to run a visual studio CMD command in a pipeline?

2020-10-30 Thread Victor Martinez
If you run the same command in your terminal, does it work? Does it need any kind of UI access? On Monday, 26 October 2020 at 11:55:23 UTC jesusfern...@gmail.com wrote: > I need to run a elevated x64 Native Tools Command Prompt fro VS 2019 > command ("vcperf /start session") within my pipeline.

Re: can I run a stage at a certain time within a pipeline

2020-10-30 Thread Victor Martinez
triggeredBy within the stage context should help you: https://www.jenkins.io/doc/book/pipeline/syntax/#when pipeline { ... triggers { cron 'H H22 * * 1-5' } stages { ... stage('deploy') { when { triggeredBy 'TimerTrigger' } ... }

Re: how to add a configuration parameter with spaces on Jenkins

2020-11-06 Thread Victor Martinez
Did you try with escaped double quotes? Something like: - bat "\"${msbuild}\" AoC/Source/project-GRDK.sln /t:Rebuild /p:configuration=\"Release Steam D3D11\" " You can also use the multilne approach to avoid the escape of double quotes: - bat """ "${msbuild}" AoC/Source/project-GR

Re: Running a single job multiple times against a slave pool, taking a free slave if possible before queueing the next run

2015-10-30 Thread Victor Martinez
I don't know if I understood correctly, you can use the matrix job: https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Project+Plugin but it does also depend on whether other builds can use those slaves, if that job is isolated and also those slaves then use the matrix otherwise, you will proba

Re: How to auto trigger Build when a change is pushed to GitHub

2015-11-03 Thread Victor Martinez
You can use the git hooks: - https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin (section Push notification from repository) KK already posted the below post: - http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/ If you use github then use the webhooks c

Re: Jenkins Hacksgiving 2015!

2015-11-06 Thread Victor Martinez
I do like that idea!! I'll ask in our first JAM in Barcelona if someone is interested. On Friday, 6 November 2015 17:53:42 UTC+1, R Tyler Croy wrote: > > More info here: < > https://wiki.jenkins-ci.org/display/JENKINS/Hacksgiving+2015> > > Slide-o-mix and I have been hashing out this idea to h

Ugrading a quite old Jenkins server version (1.564) to the latest (1.636)

2015-11-06 Thread Victor Martinez
As you already mentioned the changelog is your key place, probably a LTS version might give you much stability. Some advice's: - UI upgrade from 1.574, so you might be affected if you use any custom theme. - You can backups the JENKINS_HOME and run a docker instance locally and test it before

Ugrading a quite old Jenkins server version (1.564) to the latest (1.636)

2015-11-06 Thread Victor Martinez
I didnt mention that 1.62x onwards require java 7+ in your slaves!! -- 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

Re: POLL parametrized branch name

2015-11-06 Thread Victor Martinez
Hi Franco, Poll is evil and must die!! [http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/] you might need to use the below plugin: - https://wiki.jenkins-ci.org/display/JENKINS/Gitlab+Hook+Plugin Cheers On Friday, 6 November 2015 10:55:22 UTC+1, Fr

How to Restart a Failed Job?

2015-11-09 Thread Victor Martinez
Hi, Afaik Jenkins jobs are atomic by default, you can split those sequential steps in a list of downstream jobs instead. If the UI is a bit cucumber some you can configure your jobs based on the configuration as code paradigm (JobDSL, Jenkins builder, Workflow...) Jenkins workflow does provid

How to move Jenkins jobs build history from one jenkins server to another jenkins server

2015-11-09 Thread Victor Martinez
Hi there, This question has been asked a few times, you can search the list of suggested answers in this google group. Tip: look for JENKINS_HOME. Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Error message

2015-11-10 Thread Victor Martinez
Can you please provide further details? How did you get that error? What versions do you use? Have you tried with some verbose output? Your information doesn't provide the above details so it is hard to provide any feedback... -- You received this message because you are subscribed to the Googl

Report for projects with status "Failure

2015-11-10 Thread Victor Martinez
You can use groovy or the rest api. If you look for scriptler or post groovy build plugins you will find some examples Cheers -- 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, s

Re: How to check the integrity of a jenkins.war download?

2015-11-10 Thread Victor Martinez
Hi Jens, Have you tried to search in this Google group itself? There are some old threads: - https://groups.google.com/forum/#!searchin/jenkinsci-dev/sha1/jenkinsci-dev/IdTwt_DCZAs/bte6pagA9OYJ - https://groups.google.com/forum/#!searchin/jenkinsci-dev/sha1/jenkinsci-dev/ueaAOGrtVDI/ORJAY

Re: Why do I get this error message when I'm trying to save an artifact

2015-11-11 Thread Victor Martinez
Hi Huanyin, Please don't use any grey foreground in your text! :) If I understood correctly that message is coming from the JenkinsAPI python library, isn't it? If so, let me list some suggestions: - Have you tried to run http://pythonhosted.org/jenkinsapi/ with some verbose output? -

Re: How to set request header size for jetty

2015-11-11 Thread Victor Martinez
Hi, It might help: - https://issues.jenkins-ci.org/browse/JENKINS-26963 - https://issues.jenkins-ci.org/browse/JENKINS-24421 - https://issues.jenkins-ci.org/browse/JENKINS-20327 I hope it helps Cheers On Wednesday, 11 November 2015 15:41:12 UTC+1, Andreas Müller wrote: > > Hi, > > the Jetty as

Abort a job as soon as an error message appears in the console output

2015-11-13 Thread Victor Martinez
Hi, If I understood correctly you could add the below shebang in each script file #!/bin/bash -xe Then in case of any errors of those children scripts will be trapped accordingly. you might need to review whether you use any traps I hope it helps Cheers -- You received this message because

Re: Way to import/replicate plugins configuration from one server to another .

2015-11-14 Thread Victor Martinez
Hi, You can use Puppet, Chef and Ansible in order to configure your Infrastructure and also your Jenkins configuration. 1) Chef recipe has been there longer than the Puppet one, and it does provide slaves auto provisioning for JNLP/ssh/swarm, Puppet module only supports swarm by default, alt

Scriptler "suddenly" broken - not sure how to investigate further

2015-11-15 Thread Victor Martinez
Have you tried to debug those logs? https://wiki.jenkins-ci.org/display/JENKINS/Logging As far as I see: - greenballs plugin - scm syn configuration - privileges You can also double check whether those privileges are granted properly for running scripts. I hope it helps -- You received this

Re: Scriptler "suddenly" broken - not sure how to investigate further

2015-11-15 Thread Victor Martinez
If you use scritler plugin you can add the below logger: - org.jenkinsci.plugins.scriptler.* As you can see In the below source code: - https://github.com/jenkinsci/scriptler-plugin/blob/master/src/main/java/org/jenkinsci/plugins/scriptler/ScriptlerPluginImpl.java I meant, to add some finest lev

Re: Abort a job as soon as an error message appears in the console output

2015-11-16 Thread Victor Martinez
are able to do it (as electric > commander). You should not care about the error tracking; the tool should > be able to do it for you > > Cheers > Patricia > > > > El viernes, 13 de noviembre de 2015, 17:17:24 (UTC+1), Victor Martinez > escribió: >> &g

Re: Scriptler "suddenly" broken - not sure how to investigate further

2015-11-16 Thread Victor Martinez
> > I did restart the service after uninstalling green balls plugin. > > On Sun, Nov 15, 2015 at 4:35 PM Victor Martinez > wrote: > >> If you use scritler plugin you can add the below logger: >> - org.jenkinsci.plugins.scriptler.* >> >> As you can see In

not able to see browser when running the test cases from jenkins

2015-11-18 Thread Victor Martinez
If you use ssh connections, bear in mind they are non interactive AFAIK You can run jnlp connections instead X11 plugin might also help you, I guess so I hope someone else can provide another view My two cents -- You received this message because you are subscribed to the Google Groups "Jenk

Re: Per Jenkins user Git credentials - restrict access to some git repo to some users

2015-11-23 Thread Victor Martinez
Hi there, Have you asked Cloudbees whether they support that feature as part of the enterprise version yet? It might help you Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails f

Re: Jenkins job started by timer at an unexpected time

2015-11-30 Thread Victor Martinez
Hi, If you connect those slaves via ssh then can you review your networking configuration and verify no interruptions happened when the build ran? You can add some verbose output based on the logs: - https://wiki.jenkins-ci.org/display/JENKINS/Logging SSH slave/master connections within Jenkins

Re: Missing build status in the build history of several jobs

2015-12-01 Thread Victor Martinez
That's an interesting topic I've never had such an issue, does anybody got access to remove files in the server? As far as I see, if you delete a particular build it won't throw any log traces by default, you will need to add some debug level, I guess so Cheers On Tuesday, 1 December 2015 09:

Re: Need help in android base open source project

2015-12-01 Thread Victor Martinez
You need to elaborate a bit more your issue (what errors exactly you get, what version of jenkins you use (plugins, os...), whether it works locally, where your project is based Cheers On Tuesday, 1 December 2015 14:41:20 UTC+1, Kirshan Luhana wrote: > > Hi > We are maintaining one Android

Re: How to run/execute few tests of a job on multiple nodes in jenkins

2015-12-02 Thread Victor Martinez
You can read the below post: - https://groups.google.com/forum/#!searchin/jenkinsci-dev/mvn$20test|sort:date/jenkinsci-dev/PoM9Z-oXIjM/ISEGP9plBgAJ It might help you On Tuesday, 1 December 2015 22:50:29 UTC+1, Amit Mehrotra wrote: > > HI, > > Is there a way to load balance the tests which we hav

Re: Jenkins job

2015-12-02 Thread Victor Martinez
Probably you need to describe in details what you really need. Jenkins jobs are normally async, if you need a monitoring system, probably it's worth if you use Zabbix or another alternative system instead. Cheers On Tuesday, 1 December 2015 23:16:46 UTC+1, GBANE FETIGUE wrote: > > Hi buddy !!!

Re: How to compiling and installing a Jenkins plugin from GitHub

2015-12-02 Thread Victor Martinez
Hi, You can read further about hpi generation files via maven: http://jenkinsci.github.io/maven-hpi-plugin/ In order to run it you need to: - Install JDK - Install maven: https://maven.apache.org/install.html Then you can run 'mvn hpi:run' to test that plugin based on a local jenkins i

Re: Hacksgiving Videos

2015-12-02 Thread Victor Martinez
Awesome! Thanks! On Wednesday, 2 December 2015 20:13:41 UTC+1, R Tyler Croy wrote: > > > I've posted the Hacksgiving videos in this blog post: > > > Or more directly, in this YouTube Playlist: > < > https://www.youtube.com/playlist?

Re: How to compiling and installing a Jenkins plugin from GitHub

2015-12-02 Thread Victor Martinez
BTW, That plugin was already forked (https://groups.google.com/forum/#!topic/jenkinsci-dev/NVLHCFegfYw) They haven't released anything yet... On Wednesday, 2 December 2015 20:05:48 UTC+1, Mark Sinclair wrote: > > Thanks for the responses. Looks like I have to get maven. This is the > plugin I'

Re: Build/Configuration Manager Opporunity in Orlando, FL

2015-12-02 Thread Victor Martinez
Hi james, I wonder if you STOP using this mailing list to post anything like this! There are a bunch of different ways of hiring people but I don't really think you got the point what a mailing list means!! Thanks On Wednesday, 2 December 2015 20:32:12 UTC+1, James Davis wrote: > > *Responsib

Re: Combination triggers possible?

2015-12-03 Thread Victor Martinez
Hi, I've not found any plugin in order to pause Project A for X minutes, but you could add some shell script to 'sleep 1200' and then run a postbuild action to trigger Project B It's not the smarter solution at all, maybe someone else can give a better proposal Cheers On Thursday, 3 Decembe

Re: Jenkins Console Log data fetching into variable to attach in Email :

2015-12-03 Thread Victor Martinez
Hi, If you want to use a more standard way (IMO) I recommend you the below approach, then you won't need to worry about parsing any console output at all If you generate those environment variables on the fly then you can inject properties during the build phase via https://wiki.jenkins-ci.

Re: Get job schedule from API

2015-12-04 Thread Victor Martinez
https://YOUR_JENKINS_URL/job/YOUR_JOB/api/ Look at the Perform a build section Cheers On Friday, 4 December 2015 15:35:04 UTC+1, ccha...@kinaxis.com wrote: > > Is there a way to get the schedule for a job from the API? I can't find > it anywhere. :( > > Thanks, > Clint > -- You received this

Exit Conditional Build Step when error text appears

2015-12-07 Thread Victor Martinez
Hi, IMO, you might need to fix your ant script rather than hacking your build steps, in case you want to hack your jobs look at 1) otherwise see my suggestions 2) which is not a Jenkins question IMO, but I hope it helps. 1) validating build step afterwards using a system groovy step you can ac

Warning: this build has no associated authentication

2015-12-10 Thread Victor Martinez
You can 'easily' modify your jobs via groovy Jenkins api and inject the job property, in order to do that you will need to look at the source code of that particular plugin: https://github.com/jenkinsci/authorize-project-plugin/blob/master/src/main/java/org/jenkinsci/plugins/authorizeproject/Aut

Customizing the Project Page

2015-12-11 Thread Victor Martinez
You can use the groovy post build plugin, and add those details either as part of the job or part of the build. Cheers -- 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

how to update build name (aka displayName) via API

2015-12-12 Thread Victor Martinez
My two cents, 1) Split your build step in two parts and use the envinject plugin. Your first step will generate the build name and save to a file. Then, you can inject that via the envibject plugin and use the set build name based on that property. Afterwards you can run your script. 2) if you

Re: which logo do you like best?

2015-12-14 Thread Victor Martinez
I like #2 and #6, but probably #2 is more traditional so in case Jenkins 2.0 would be there, I definitely like #6 On Monday, 14 December 2015 21:24:53 UTC+1, Christopher Orr wrote: > > Something like #2 would be good — #6 is also ok. > > Don't forget to get permission to use the Jenkins tradem

Is there any way to stop Jenkins from making "Build Queue"

2015-12-15 Thread Victor Martinez
Hi, Off the top of my head I would consider the below approaches: 1) https://wiki.jenkins-ci.org/display/JENKINS/Build+Blocker+Plugin 2) groovy step You can easily disable any slaves via some groovy scripting as part of your build steps, maybe the first step. 3) server in maintenance mode, I b

Re: auto-comment on GitHub issue during deploy triggered by commit

2015-12-15 Thread Victor Martinez
Hi, That's an interesting feature, I've been using the GitHub Pull Request plugin in order to build any PR and comment them accordingly, but for some reason I've not found a similar Jira Issue Update plugin for GitHub, I just googled a bit and I've found the below post: - https://pelle.io/201

Re: Cannot run Job Generator from Freestyle Project when passing multiple parameters

2015-12-17 Thread Victor Martinez
Hi there (beforehand), AFAIS there is cast issue when converting a StringParameterValue to GeneratorKeyValueParameterValue, basically it means that script is somehow expecting another kind of input parameter. Can you review your script? It's worth if you gist your script to help you out Chee

Re: Restart an API with Jenkins

2015-12-17 Thread Victor Martinez
Hi there, You will need to script your logic and try locally then you can mimic those manual steps in your jenkins job and configure it in order to be triggered every hour. Can you configure your shebang to have some verbose output with the -x flag? TIPS: if you use sudo then be sure your j

Re: Promoted builds plugin breaks promotion process

2015-12-19 Thread Victor Martinez
Hi, I've seen in the release notes a new version 2.24.1 which does revert a particular PR: https://github.com/jenkinsci/promoted-builds-plugin/pull/79 Can you try to upgrade that version to the latest one (2.24.1) instead the previous one (2.24)? Cheers On Saturday, 19 December 2015 13:01:4

Re: Ability to get the current logged in user's api token

2015-12-22 Thread Victor Martinez
Hi, Jobddsl does support the credential plugin indeed. https://github.com/jenkinsci/job-dsl-plugin/wiki/Handling-Credentials Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails fr

Re: Running selenium automation tests with rspec in jenkins

2015-12-28 Thread Victor Martinez
Hi, as long as you can run those tests manually via command line then you can configure a particular Jenkins job with the same commands. BTW, if you google a bit you can find a bunch of post/entries/examples as below - Maven/Selenium/Jenkins -> http://www.guru99.com/maven-jenkins-with-selenium

Re: CIFS plugin debug messages

2015-12-30 Thread Victor Martinez
Hi, You can try to use the below logger setup in order to grab further details: - https://wiki.jenkins-ci.org/display/JENKINS/Logging CIFS plugin uses the below dependency: https://github.com/jenkinsci/publish-over-cifs-plugin/blob/master/pom.xml#L69-L73 So you can add the below loggers in yo

Re: CIFS plugin debug messages

2015-12-30 Thread Victor Martinez
el: All > > do I need to do something more? > > Thanks for your help > Jhoom > > > -Original Message- > From: Victor Martinez > To: Jenkins Users > Cc: jhoomsharabi > Sent: Wed, Dec 30, 2015 8:46 pm > Subject: Re: CIFS plugin debug messages >

Re: How to count maven pass tests count, failed test count etc.

2016-01-04 Thread Victor Martinez
Hi, Off the top of my head I'll suggest the two below options: 1) Groovy Post Build and Promoted Plugin , so run your maven test command as usual, then a

JUnit plugin disabled?

2016-01-05 Thread Victor Martinez
https://wiki.jenkins-ci.org/display/JENKINS/Removing+and+disabling+plugins -- 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...@googlegro

Config AutoRefresh Plugin

2016-01-05 Thread Victor Martinez
It is worth if you explain in detail your use case and failures Cheers -- 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

Re: sauce on demand failing to initialize

2016-01-06 Thread Victor Martinez
Hi, It seems that particular class "org.sonatype.guice.bean.locators.MutableBeanLocator" wasn't loaded in your jenkins instance for some reason, probably that plugin is using that transitive dependency from another library. What sauce-ondemand version are you using? Have you tried to upgrade i

Re: Groovy Postbuild testResultAction always null

2016-01-06 Thread Victor Martinez
Hi, Do you use the junit plugin (https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Plugin) in your jenkins job? Cheers On Wednesday, 6 January 2016 05:23:30 UTC+1, foolhunger Hsiao wrote: > > Hi, all > > I was trying to use groovy postbuild plugin to get test failure count, and > test pass c

Re: Groovy Postbuild testResultAction always null

2016-01-06 Thread Victor Martinez
IMO, freestyle jobs don't know what a test means unless there are some post build actions to parse those *unit files, therefore you shouldn't raise a ticket since that's the expected behavior I guess so. Cheers -- You received this message because you are subscribed to the Google Groups "Jenk

Re: Problem with archiving after successful build (Operation not permitted)

2016-01-18 Thread Victor Martinez
Hi, As far as I see in the below error message Caused by: java.io.FileNotFoundException: /var/jenkins_home/jobs/ok/modules/com.abnamro.portal$internet-portal-war/builds/26/archive/com.abnamro.portal/internet-portal-war/2.5.0-f-cb-s-release-2.1-b01-SNAPSHOT/internet-portal-war-2.5.0-f-cb-s-relea

Re: What does "Use Gradle Wrapper" do in Jenkins Gradle plugin?

2016-01-18 Thread Victor Martinez
If I understood correctly both use cases are exactly the same. Gradle Wrapper provides further features such as: - task inde, as you can see in the left side - console output colourful - besides of that it does also use the Gradle installation approach, so you can either have the gradle wrapper

Re: CodeDeploy plugin using proxy authentication

2016-01-18 Thread Victor Martinez
Have you tried to raise a Jira ticket and linked to that particular plugin? I'm not sure if contacting the developer might be the right approach as those questions/answers might be hidden from others, so if you open a Jira ticket then it will be easy to track it and the owner of that plugin migh

Re: jenkins-plugins: which version is the latest?

2016-01-19 Thread Victor Martinez
You can parse the https://updates.jenkins-ci.org/current/update-center.json On Tuesday, 19 January 2016 10:11:17 UTC, These wrote: > > Hi, > the array is generated by myself. > i have a small ruby-script that collected all plugins via the jenkins-api. > > currently: ['plugin_1', 'plugin_2', 'plu

Re: What does "Use Gradle Wrapper" do in Jenkins Gradle plugin?

2016-01-19 Thread Victor Martinez
Thanks Daniel, I did typo in my previous enumeration. as David spotted it was related to the Gradle Plugin rather than the gradle wrapper option within the gradle plugin itself. IMO, those are one of the keys features and might help you to avoid using the ./gradlew shell/batch command in any je

Re: nodelabel plugin and groovy

2016-01-20 Thread Victor Martinez
Hi, Have you tried to use the matrix project type? you can run same steps in different slaves/labels at the same time. Cheers On Tuesday, 19 January 2016 17:35:09 UTC, Niksan wrote: > > I'm trying to control where jobs are run from a groovy script, it's an > edge case that I have to run on al

Re: git clone error

2016-01-20 Thread Victor Martinez
Correct me if I'm wrong but those log details are not enough, can you attach your full console log? Probably there is something else after that error in the stacktrace error output. It might be related to some timeout issues... Cheers On Tuesday, 19 January 2016 14:17:34 UTC, GS_L wrote: > > I

Re: git clone error

2016-01-20 Thread Victor Martinez
2% (7/337)[K > remote: Compressing objects: 3% (11/337)[K > remote: Compressing objects: 4% (14/337)[K > remote: Compressing objects: 5% (17/337)[K > > remote: Compressing objects: 6% (21/337)[K > > > On Wednesday, January 20, 2016 at 1

Re: Is there a way to fail the build after it's finished?

2016-01-20 Thread Victor Martinez
Probably you could run the build promotion and some adhoc system groovy script to change the status. But using that approach might be dangerous as you will use some internal api and will require some knowledge otherwise you might break its reliability and consistency. What if you add an extra s

Re: How to get the list of user views by the api

2016-01-20 Thread Victor Martinez
You can raise a Jira ticket and ask about that feature since it might not be developed yet. and if you somehow need that feature in place as long as you raise a jira ticket it would be easy to track it. Cheers On Thursday, 14 January 2016 12:56:39 UTC, Yohann Perraud wrote: > > Thanks. > > I do

Re: change the build status to NOT_BUILT if a file exists in post build

2016-01-20 Thread Victor Martinez
Hi, If I understood correctly you would like to build your branch and have a post build action to change the build status only if the file exists, didn't you? If it's a postbuild action a skip action in the jenkins job doesn't make sense. Can you elaborate it a bit more? Cheers On Tuesday,

Re: Configuring Specflow scenarios tags running in CI (Jenkins)

2016-01-20 Thread Victor Martinez
Hi Ana, Do you use any build scripts? If so, as long as that logic is part of the script itself you can easily run those commands in Jenkins. Other than that, I don't see any other way of doing it. Cheers On Thursday, 14 January 2016 08:58:10 UTC, Ana Sousa wrote: > > Hi all, > > I have a lo

Re: Logentries Forwarder - Token

2016-01-27 Thread Victor Martinez
Hi, I'm not sure whether the above suggested post is related to this entry: https://cloudbees.zendesk.com/hc/en-us/articles/203802500-Injecting-Secrets-into-Jenkins-Build-Jobs Which it might help you to set "secrets" globally and be able to use them among different jobs. Cheers On Tuesday

Re: Cannot autoinstall jdk 8 on my Jenkins, don't know JDK ID. Please help!

2016-01-27 Thread Victor Martinez
t; >>> >> NOT RELATED TO this post: >>> In fact I have an issue with the "Install from java.sun.com >>> dropdown list, which is now a text box. >>> the /var/lib/jenkins/hudson.tools.JDKInstaller.xml is well configured, but >>> when the file

Re: How to run/test custom scm plugin?

2016-01-27 Thread Victor Martinez
if you run mvn hpi:run it should spin up a new Jenkins instance locally with your plugin. You can find further details in the below post: https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial Cheers On Wednesday, 27 January 2016 14:11:53 UTC, rajkuma...@gmail.com wrote: > > Hi, > I am tr

Re: slave log file

2016-01-29 Thread Victor Martinez
The below wiki might help you out to debug your server - https://wiki.jenkins-ci.org/display/JENKINS/Logging And also the below plugin might show the version of each slave.jar file: - https://wiki.jenkins-ci.org/display/JENKINS/VersionColumn+Plugin Cheers On Friday, 29 January 2016 13:24:24 UTC,

Re: slave log file

2016-01-29 Thread Victor Martinez
at I using the latest slave.jar file. The > plugin below will tell me the versions. However, how can I install/use the > latest slave.jar file? > > Thanks for taking the time to look into these. > > From: Victor Martinez <> > Date: Friday, January 29, 2016 at 8:08 AM > To:

Re: How do I configure a Jenkins build to push a file to a specific server on the network?

2016-01-31 Thread Victor Martinez
You can use the below plugins: - https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+SSH+Plugin - https://wiki.jenkins-ci.org/display/JENKINS/SSH+plugin Then you can configure your job to run certain scripts among different machines. I hope it helps On Saturday, 30 January 2016 03:48:08 UT

Re: How do I configure a Jenkins build to push a file to a specific server on the network?

2016-02-01 Thread Victor Martinez
name)? > > On Sunday, January 31, 2016 at 12:16:25 PM UTC-5, Victor Martinez wrote: >> >> You can use the below plugins: >> - https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+SSH+Plugin >> - https://wiki.jenkins-ci.org/display/JENKINS/SSH+plugin >> >>

Re: Groovy script to do jenkins configuration

2016-02-02 Thread Victor Martinez
You might need to debug your script a bit further as you can see in the STDERROR Could not find matching constructor for: hudson.plugins.sonar.SonarInstallation(java.lang.String, java.lang.Boolean, jav a.lang.String, java.lang.String, java.lang.String, java.lang.String, java. lang.S tring, java

Re: jenkinsci/nested-view-plugin - Maintained?

2016-02-02 Thread Victor Martinez
I put the jenkins dev group in the loop and they might help you. On Tuesday, 2 February 2016 10:35:45 UTC, tim.b...@theladbiblegroup.com wrote: > > Hi Guys, > > I’ve submitted a pull request ( > https://github.com/jenkinsci/nested-view-plugin/pull/23) and can also see > other pull requests wait

Re: Groovy script to do jenkins configuration

2016-02-03 Thread Victor Martinez
downloaded from > https://updates.jenkins-ci.org/download/plugins/sonar/2.3/sonar.hpi and > when I check its source code on the link given it doesn't have this library > *hudson.plugins.sonar** > > On Tuesday, February 2, 2016 at 4:16:05 PM UTC+5:30, Victor Martinez wrote: >>

Re: jenkins permission denied when using NSIQ collector

2016-02-04 Thread Victor Martinez
Hi there, Permission denied might be related to the execution privileges, can you double check whether that binary has got the right execution privileges for that jenkins user? It's also worth if you type the bellow command in your terminal and double check whether it works as you expect. /va

Re: Claim plugin has fallen silent

2016-02-05 Thread Victor Martinez
Hi, It seems that plugin hasn't been loaded in the classpath, doesn't it? Have you tried to wipe out that plugin file manually from the filesystem? - cd %JENKINS_HOME%/plugins - ls -l *claim* Cheers On Friday, 5 February 2016 04:45:04 UTC, dougl...@gmail.com wrote: > > Our Jenkins server

Re: Unable start Jenkins after upgrading java version to 1.8.Jenkins 1.159.And facing below exception

2016-02-08 Thread Victor Martinez
Does C:\Users\support\.jenkins\config.xml file exist? Is that the same as It used to be? You can force the Jenkins Home location: - https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins I hope it helps On Monday, 8 February 2016 06:58:07 UTC, Divya wrote: > > org.jvnet.hudson

Re: Recommnended approach for jenkins housekeeping

2016-02-11 Thread Victor Martinez
Hi, I don't know if there is already a specific plugin for doing that, the closest feature afaik is already implemented by https://wiki.jenkins-ci.org/display/JENKINS/Maintenance+Jobs+Scheduler+Plugin which will cronly remove/disable jobs older than X days. It would be easy to adapt it to clea

Re: Is there a way to see which version of Jenkins a previous version of a plugin required/supported?

2016-02-11 Thread Victor Martinez
Hi, That information it should be in the pom file: - https://github.com/jenkinsci/groovy-plugin/blame/master/pom.xml Which it was committed by: - https://github.com/jenkinsci/groovy-plugin/commit/cff114d67f056cfdfbfa5f8f2d234818cb04ee03 Cheers On Thursday, 11 February 2016 14:3

Re: How to Uninstall Jenkins on windows machine

2016-02-12 Thread Victor Martinez
Look at: - https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service There is already a specific section about that question Cheers On Friday, 12 February 2016 07:32:41 UTC, Jenkins wrote: > > HI, > > How to Uninstall Jenkins on windows machine? > > Thanks, > Naveen > -

  1   2   3   4   5   6   >