Re: Multiple commands

2017-09-05 Thread harvey
I am sorry but neither removing helped me solve the problem. I follow the following steps in CMD normally, cd "C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin\ mysql -u root -p * CREATE DATABASE xyz; It works great when done manually but not with Jenkins. In jenkins it is not taking

Broken Shell in Jenkins

2017-09-05 Thread Ana MB
Hi guys! I'm using Conditional Steps Plugin in Jenkins and I want to execute commands in the Shell, but it seems not to work. I show you my case: I try to ex

promoting with jenkins file

2017-09-05 Thread ctr0306
Hi, Any one has promoted the artifacts from DEV --> SIT --> UAT --> PROD using jenkins file if so please provide the guidelines Thanks CTR -- 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: MSTest plugin poll

2017-09-05 Thread Chris B
Hi, there seems to be a problem with the MSTest Plugin in a none-pipeline job: Results file: D:\Workspace\PRODUCT\trunk\testresult.trx Test Settings: Default Test Settings [MSTEST-PLUGIN] INFO processing test results in file(s) **/*.trx [MSTEST-PLUGIN] INFO processing report file: D:\Workspace\

Re: Broken Shell in Jenkins

2017-09-05 Thread Ana MB
Ok the problem is with the "File exists" Condition, because I've put "Always" and I get the message "HI WORLD": [INFO] [INFO] BUILD SUCCESS [INFO] ---

no results in vstest.console.exe

2017-09-05 Thread mulumudy sushmita
My unit tests are being recognized but when commiting it shows no results. I have used the following windows batch command. C:\PROGRA~2\OpenCover\OpenCover.Console.exe -register:path64 -target:"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\

Re: Broken Shell in Jenkins

2017-09-05 Thread 'Björn Pedersen' via Jenkins Users
Hi, File exists does not seem to do ant-style expansion, if I look at the docs. Either specify the correct relative path, or use Files Match. Björn Am Dienstag, 5. September 2017 11:45:43 UTC+2 schrieb Ana MB: > > Ok the problem is with the "File exists" Condition, because I've put > "Al

JIRA plugin: add issue labels

2017-09-05 Thread Alex Vasilkov
Hi, I'm using JIRA Plugin v2.4.2 and trying to add a lebel with build number to each related JIRA issue. Changelog for version 2.2 says that it now has "Support adding labels to updated issues". I also checked source code and can see that addi

Re: Broken Shell in Jenkins

2017-09-05 Thread Ana MB
I've tried with "Boolean" Condition and it's not working yet... I don't know if the token is right: It returns this console output: [INFO]

Wrong Boolean Conditioned Token

2017-09-05 Thread Ana MB
Hi guys! I don't know how to put a conditioned token to evaluate if a file exists with the Conditional Step Plugin in Jenkins: This returns the following cons

Re: Broken Shell in Jenkins

2017-09-05 Thread Ana MB
This topic can be closed. I open a new one with the real problem. El martes, 5 de septiembre de 2017, 10:13:56 (UTC+2), Ana MB escribió: > > Hi guys! > > I'm using Conditional Steps Plugin in Jenkins and I want to execute > commands in the Shell, but it seems not to work. I show you my case: >

Re: promoting with jenkins file

2017-09-05 Thread Victor Martinez
Hi, If you meant the promotion based on https://wiki.jenkins.io/display/JENKINS/Promoted+Builds+Plugin then there is already an open ticket: https://issues.jenkins-ci.org/browse/JENKINS-36089 Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Use

Re: Support needed for Jenkins Server Specification

2017-09-05 Thread MANIKANDAN BABU
Hi Artur, Thanks for your suggestion. Manikandan On Friday, September 1, 2017 at 6:43:21 PM UTC+5:30, Artur Szostak wrote: > > I think the biggest dependency will be on the number and complexity of > jobs. > My experience has shown more or less a linear increase in the amount of > Memory and

Re: Multiple commands

2017-09-05 Thread Victor Martinez
Hey, There are some examples about running batch mysql scripts in the below stackoverflow link: https://stackoverflow.com/questions/8830773/run-mysql-script-by-batch-script I hope it helps -- You received this message because you are subscribed to the Google Groups "Jenkins Users" gro

Re: Wrong Boolean Conditioned Token

2017-09-05 Thread Ana MB
I've tried too with "Files Match" Condition and it does the same (nothing): It returns: [INFO] -

Re: Wrong Boolean Conditioned Token

2017-09-05 Thread Victor Martinez
Can you confirm whether it does exist under the folder "Workspace"? If you add a shell script step before the conditional step which runs "ls -l" what's the output? Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from t

%PATH% mismatch - from job to actual path | for the C:\Git\cmd;C:\Git\bin;C:\Git\usr\bin;

2017-09-05 Thread LnT
Hi , in my Jenkins master machine - out of the command prompt is like below *C:\Documents and Settings\adm_jenkins>pathPATH=C:\Documents and Settings\All Users\Application Data\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Python27;C:\Python27\Scripts;C:\Pyt

Re: %PATH% mismatch - from job to actual path | for the C:\Git\cmd;C:\Git\bin;C:\Git\usr\bin;

2017-09-05 Thread Victor Martinez
off the top of my head, did you restart the Jenkins service to pick up the new environment variable changes? -- 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 je

Re: Setting PTC (MKS) Integrity environment variables through Jenkins configuration

2017-09-05 Thread rampaulj
Hello Ganesh, I am also trying to do the same configuration of MKS plugin in Jenkins. I am new to Jenkins, can you please help me by providing some inputs. Regards, Rampaul On Wednesday, June 15, 2016 at 5:21:17 PM UTC+5:30, Ganesh Kumbhar wrote: > > Hello Everyone, > > I am new to Jenkins &

Re: Wrong Boolean Conditioned Token

2017-09-05 Thread Slide
I think when using File Matches, you need to specify an ant-style file pattern like you were trying before. Try putting this in the box (verbatim): Includes "**/test_resultados_miniprueba.csv" If you click on the help icon (question mark) next to the fields, they can give you valuable information

Re: PTC plugin: Java with Integrity older than 10.5

2017-09-05 Thread rampaulj
Hello Leon, I am trying to configure MKS as SCM system in Jenkins. Can you please provide some information on this. I am completely new to Jenkins. Regards, Rampaul On Wednesday, December 9, 2015 at 3:39:56 PM UTC+5:30, Leon Leon wrote: > > Hello everyone, > > I did read that Java versions af

Jenkins and Docker

2017-09-05 Thread Tibbs
I'm sorry if this has been asked before but I am new to both Jenkins and virtualised containers and couldn't find something related to my question. Can anyone tell me if I need Docker in order to use Jenkins? I am slightly puzzled by Jenkins documentation saying the you need to have Docker *pro

Re: Jenkins and Docker

2017-09-05 Thread nicolas de loof
The chapter you refer to is about running Jenkins as a docker container. If you used another installation process, just ignore That being said, docker is a nice complement to jenkins, and is used in various samples in documentation, including Declarative Pipeline. So I recommend you install it so y

Re: Getting the build description from a URL

2017-09-05 Thread graya2
LOL. I ran across my own post from 5 years ago. I can answer it myself now: from jenkinsapi.jenkins import Jenkins import jenkinsapi J = Jenkins('http://myjenkins:8080/', username='user', password='password') job = J['my-job'] b = job.get_build(383) b.get_description() -- Sent from: http://jen

Re: Blue Ocean Repository permissions within Jenkins Github organization: can't seem to edit

2017-09-05 Thread Cliff Meyers
Hi Nelson, It sounds like you are running into some of the limitations of GitHub organizations that others have faced as well. In the past couple of weeks, the Blue Ocean team has landed some changes so that new GitHub-based pipelines are created as Multibranch Pipelines instead. Once this ships,

Re: How can I tail the console output for a failed pipeline build?

2017-09-05 Thread Dallas Clement
Answering my own question in case it may help someone. I put this in my "failure" post action section of my Jenkinsfile to extract the last 100 lines of the build log. I also filtered out the post actions output and the leading rubbish on each line of the actual build log. jobName = "${env.JO

Pinning a node to a particular workspace in jenkins pipeline?

2017-09-05 Thread Craig Silverstein
I have a jenkins pipeline script that does something like this: ``` node('master') { do_stuff(params.FOO); } prompt "Look good?" node('master') { do_more_stuff(); } ``` `do_more_stuff()` depends on workspace-changes made by `do_stuff()` (files created, repos synced, etc). This worked fine when o

XUnitPublisher display ALL tests including passed tests

2017-09-05 Thread red 888
This is how I'm using this plugin in my jenkinsfile to read MSTest trx files: > step([$class: 'WsCleanup']) step([$class : 'XUnitPublisher', > testTimeMargin: '3000', > thresholdMode: 1, > thresholds: [ > [$class: 'FailedThreshold', failureNewThreshold: '', > failureThres

Re: Pinning a node to a particular workspace in jenkins pipeline?

2017-09-05 Thread niristotle okram
i have ran into this in the past, but we manage to solve this by assigning a workspace for each build. there is a dsl - ws(). Another thing regarding the executor while waiting for user input, use the input(), outside of node{}. https://stackoverflow.com/questions/37831386/jenkins-pipeline-input

Re: Pinning a node to a particular workspace in jenkins pipeline?

2017-09-05 Thread Craig Silverstein
Thanks for that link -- that was very helpful! Here's a snippet from it: ``` EDIT: As pointed out by @amuniz, you have to stash/unstash the contents of the workspace, as different nodes respectively workspace directories might be allocated for the two node steps. ``` so that's another approach

Re: Publish over CIFS configuration

2017-09-05 Thread Ted
this is the full stack trace: jenkins.plugins.publish_over.BapPublisherException: jenkins.plugins.publish_over.BapPublisherException: Exception when testing config. URL [smb://192.168.1.201/shared/], Message: [Failed to connect: 0.0.0.0<00>/192.168.1.201] at jenkins.plugins.publish_over_c

Re: enable environment variables and add variable from Dockerfile

2017-09-05 Thread Li Z
Still have not find any solution yet. On Wednesday, August 30, 2017 at 2:34:17 PM UTC-7, Li Z wrote: > > Is there a way to enable environment variables and add variable from > Dockerfile or a init.groovy.d script? > > Thanks > -- You received this message because you are subscribed to the Goog

Re: Publish over CIFS configuration

2017-09-05 Thread Ted
After some examination of logs & discussion on IRC. Slide & I determined that the problem is that I am requiring a min protocol of SMB2. While this is an important feature (protects against WannaCry), it is not implemented in jcifs, which is the library currently used for the smbclient connection

sshAgent connection error through Pipeline with Private key

2017-09-05 Thread sabharwal81
Hello everyone, I am stuck with one odd problem where i am trying to run remote command on linux server from my slave machine (windows server) as part of Pipeline script. As SSH connections are only supported using Private/Public Keys, i did follow steps mentioned in blog https://medium.com/@

Our plugin stopped processing concurrent jobs

2017-09-05 Thread manisha
Hi, Our plugin was working fine few versions ago with processing concurrent jobs. Now, we see that there is a delay in processing of concurrent jobs. Nothing changed in our plugin. Can someone suggest what may have gone wrong? Manisha -- You received this message because you are subscribed to

NO copy artifactory option available after installing plugin

2017-09-05 Thread phanikumar
I have installed copy artifactory plugin to copy files of the previous job to perform a rollback. But the plugin is an option is not getting displayed in the Job configuration. Can someone help me out on this? Thanks in advance. -- Sent from: http://jenkins-ci.361315.n4.nabble.com/Jenkins-users

Re: no results in vstest.console.exe

2017-09-05 Thread suresh kumar
Which version of OpenCover you are using? On Tuesday, September 5, 2017 at 3:30:10 PM UTC+5:30, sushmita wrote: > > My unit tests are being recognized but when commiting it shows no results. > I have used the following windows batch command. > > C:\PROGRA~2\OpenCover\OpenCover.Console.exe -registe