Re: curl syntax to send and receive REST Service API response (xml) from jenkins

2018-10-28 Thread prasad venkata ramasatya Nandagiri
In the curl command give -o so that you get response back. You can also specify output format by using —output-format attribute. But I prefer http request plugin to make rest calls from pipeline script. It is very easy to use. https://jenkins.io/doc/pipeline/steps/http_request/ -- You receiv

Re: env variable to be set across jenkinfile for each step

2018-10-28 Thread npwork101
Thank you for your reply. I did try what you had suggested, but it did not work. But i could be doing something wrong as well. Here is my step. pipeline { agent any stages { stage('Checkout') { steps { script { git(url: 'ssh://my.git', branch: 'testing', changel

Re: Connecting Jenkins to GitHub

2018-10-28 Thread sagar utekar
Hi, Search for a GitHub integration plugin. Here is a YouTube video link you can refer - https://youtu.be/Z3S2gMBUkBo Thank you. On Mon, 29 Oct 2018, 08:55 HB, wrote: > Thank you for the reply. I am not seeing 'gith' plugin, is that short for > a plugin? Here are the plugins that I have ins

Re: Connecting Jenkins to GitHub

2018-10-28 Thread HB
Thank you for the reply. I am not seeing 'gith' plugin, is that short for a plugin? Here are the plugins that I have installed referring to git and ssh: Git client plugin 2.7.3 Git plugin 3.9.1 GIT server Plugin 1.7 GitHub API Plugin 1.92 GitHub Branch Source Plugin 2.4.1 GitHub plugin 1.2

Re: Connecting Jenkins to GitHub

2018-10-28 Thread Robert Rajendra
To integrate Jenkins with github. You need to install gith , github plugins with ssh plugin you can read the docs regarding these and get the work done On Mon, 29 Oct 2018, 3:06 am HB, wrote: > All, > > I am completely new to Jenkins but am tasked with getting a working > environment up and runn

Connecting Jenkins to GitHub

2018-10-28 Thread HB
All, I am completely new to Jenkins but am tasked with getting a working environment up and running. Everything appears to running well as follows: RHEL 7.5 Jenkins ver 2.148 Installed using the below yum repo: [jenkins] name=Jenkins baseurl=http://pkg.jenkins.io/redhat gpgcheck=1 I have it c