Re: Passing env variable bettween different pipeline

2019-08-19 Thread Yeikel Santana
In Jenkins UI you can configure credentials[1] . Environment variables are inherited from the system and can be used in your pipeline with *env[2]* *Example : env.host* [1]https://jenkins.io/doc/book/using/using-credentials/ [2] https://jenkins.io/doc/pipeline/tour/environment/ On Monday,

Jenkins and JIRA integration issue

2019-08-19 Thread Group FiO
We trying to in integrate JIRA with JENKINS, configuration are done on both side. We don't know issue in Jenkins side or in JIRA side. Please any one help me. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Re: Does Jira Steps Plugin Work With Jira Cloud?

2019-08-19 Thread Group FiO
HI Mark, Use API instead of password in JIRA steps. Then try you will able to login in to JIRA. Cheers Naren.A On Monday, April 15, 2019 at 10:18:22 PM UTC+5:30, Mark Bretl wrote: > > Environment: > Jenkins 2.164.2 > Jira Plugin 3.0.6 > Jira Steps plugin 1.4.5 > > Hi, > > I am trying to

Re: Latest GitHub Branch Source not scanning with credentials?

2019-08-19 Thread Mark Waite
On Mon, Aug 19, 2019 at 9:13 AM Devin Nusbaum wrote: > If I understand correctly, the problem is that in the non-working case, > branch indexing ends up using anonymous credentials instead of the ones you > specified (and thus timing out due to rate limits), rather than failing > with an

Re: Generate stage from script stdout

2019-08-19 Thread jeremy mordkoff
yes. You can generate groovy code using any tool you want and then use load to import it, e.g. node('docker') { checkout scm // this step generates Jenkinsfile.do_merge sh script: './bin/git/needs_merging -j' pipeline = load 'Jenkinsfile.do_merge' pipeline.execute() } and

Re: Latest GitHub Branch Source not scanning with credentials?

2019-08-19 Thread Devin Nusbaum
If I understand correctly, the problem is that in the non-working case, branch indexing ends up using anonymous credentials instead of the ones you specified (and thus timing out due to rate limits), rather than failing with an explicit error message? I don’t think it should matter, but just

Re: Programmatically searching the artifacts from multiple jobs

2019-08-19 Thread Martin d'Anjou
You can get the artifacts from Jenkins using curl: curl -X GET "http://localhost:8080/job/p1/2/artifact/t2.txt; -o t2.txt You can also get all the artifacts: curl -X GET "http://localhost:8080/job/p1/2/artifact/*zip*/archive.zip; -o a.zip For more see:

Passing env variable bettween different pipeline

2019-08-19 Thread Alfredo De Luca
Hi all. we are using Jenkins 2.176 and with blu ocean. We have different pipelines each one does different things but in the near future we ll need to pass some env variables between them. How can I do that? Cheers -- *Alfredo* -- You received this message because you are subscribed to the