Re: Pass the data thru variable using curl command

2019-01-21 Thread Ramanathan Muthaiah
> > My request is here below:- > > def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: > application/json" -d {"DeAppRulesList": > [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}' > > No error

Re: Pass the data thru variable using curl command

2019-01-21 Thread Panneer
Hi David, My request is here below:- def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: application/json" -d {"DeAppRulesList": [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}' No error and

Re: warnings-ng plug-in in a matrix job

2019-01-21 Thread Ullrich Hafner
Does the plugin fail the job for the other axes? Or can’t you just pick a file that is empty for the other axes? Currently there is no way to configure different properties for different axes. > Am 21.01.2019 um 19:49 schrieb Braden McDaniel : > > I have a matrix job that builds on multiple co

warnings-ng plug-in in a matrix job

2019-01-21 Thread Braden McDaniel
I have a matrix job that builds on multiple compilers/platforms. One of those compilers is clang with static analysis. I have recently discovered the warnings-ng plug-in; and while it seems quite clever, because it operates as a post-build action (and the conditional step plug-in does not provi

Re: Pass the data thru variable using curl command

2019-01-21 Thread David Karr
On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan wrote: > Hi All, > > I am using Jenkins for API Testing in Pega Environment. I can send and > receive response thru PostMan and SOAPUI and working fine. > > But I want to automate using Jenkins Pipeline. > > Please do let me know, How do i

Prevent Archiving In a Pipeline

2019-01-21 Thread Ricardo Torres
I have an upstream component, libraryA, I build, archive, and deploy via a Maven job, jobA. This works great. I have a downstream Maven job, jobB, that has a dependency on libraryA. This also works great, except… I have a completely separate pipeline job, pipelineA specified by Jenkinsfile

Security Vulnerability

2019-01-21 Thread mohan reddy
SM-7 Missing secure flag on session ID In secure HTTPS applications, cookies must have the “Secure” flag set. The “Secure” flag informs browsers that a cookie should only be sent on connections that are encrypted with SSL. Without the “secure” flag, the non-encrypted HTTP domain for the appl

How to Auto-increment XML tag value in jenkins

2019-01-21 Thread Faad Sayaou
Hi, I have an xml file in my project repo which after checkout, I will like to auto increment the last value of the version number for every build. I am already accessing the version number using xmlslurper and storing this in a variable. I have something like this in my pipeline script and my x

How to configure the plugin authorize-project with configuration-as-code?

2019-01-21 Thread Guo Zhenyang
Hello, I'm trying to use configuration-as-code to initial the configuration of the Jenkins. Thought it says JCasC "Support most plugins without extra development effort" in https://jenkins.io/projects/jcasc/, I can't find a list of supported plugins or a demo of configuring plugin authorize-pro

Re: Pipeline Multibranch jobs - Build User Vars Plugin

2019-01-21 Thread Carles Capdevila Tejada
Hello Eldad, We have something like this working on our multibranch pipelines: hudson.model.Cause.UserIdCause userIdCause = (hudson.model.Cause.UserIdCause ) pipeline.currentBuild.getCause(hudson.model.Cause.UserIdCause.class) if(userIdCause) { String userName = userIdCause.getUserName()