Re: (Git plugin) Build trigger when branch is deleted in GitHub?

2018-05-01 Thread Alejandro Villarreal
Thanks, no rush, I just wanted to make sure my reply didn't get lost, like I missed yours. I'm actually using a freestyle job, here's a gist with the XML definition, with some sensitive parts edited out (surrounded by [[ ]])

Re: (Git plugin) Build trigger when branch is deleted in GitHub?

2018-05-01 Thread Alejandro Villarreal
Mark, did you get a chance to read my reply? If I understood you correctly, what I'm seeing is probably unexpected behavior and I can very easily reproduce it, so I'd be happy to file an issue in JIRA if needed. On Thursday, April 26, 2018 at 2:39:23 PM UTC-5, Alejandro Villarreal wrote: > >

Re: [Kubernetes-Plugin] Declarative pipelines with Pod yaml, jnlp arguments issue

2018-05-01 Thread Hung Do
Sorry, for another post. I don't know how to edit the previous post, I forgot to add this, when I removed the args parameter and saw the created pod with the crashing container, I have looked into the 'created yaml file' in Openshift and saw this :

Re: [Kubernetes-Plugin] Declarative pipelines with Pod yaml, jnlp arguments issue

2018-05-01 Thread Hung Do
I have removed the 'args' parameter from the yaml in the declarative syntax and the container(openshift-slave-maven-centos7) just crashes unfortunately.

Re: how do I list all the pull request for the repo?

2018-05-01 Thread niristotle okram
which provider? On Tue, May 1, 2018 at 1:12 PM, swordfish wrote: > I want to write a script inside shared library which gives list of all > pull requests. Any sample example? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins

Re: [Kubernetes-Plugin] Declarative pipelines with Pod yaml, jnlp arguments issue

2018-05-01 Thread Carlos Sanchez
Just remove the 'args' parameter, it would use environments variables On Tue, May 1, 2018, 20:18 Hung Do wrote: > Ah I thought I could just use the JNLP from the openshift-slave-maven-centos7 > directly. >

Re: [Kubernetes-Plugin] Declarative pipelines with Pod yaml, jnlp arguments issue

2018-05-01 Thread Hung Do
Ah I thought I could just use the JNLP from the openshift-slave-maven-centos7 directly. The end goal is to do the build with the openshift-slave-maven container and do some integration tests with an attached mysql container, while

Re: Build logic based on BRANCH

2018-05-01 Thread Matthew Ceroni
https://dev.to/jalogut/centralise-jenkins-pipelines-configuration-using-shared-libraries Is what I just found. I will give this a try. On Tuesday, May 1, 2018 at 11:07:34 AM UTC-7, Matthew Ceroni wrote: > > Looking for some assistance on how to accomplish executing different build > logic

how do I list all the pull request for the repo?

2018-05-01 Thread swordfish
I want to write a script inside shared library which gives list of all pull requests. Any sample example? -- 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

Build logic based on BRANCH

2018-05-01 Thread Matthew Ceroni
Looking for some assistance on how to accomplish executing different build logic based on branch names. In my use case for branches master or PR-? I want to execute build + test (basically continuous integration). For branches named release-? I want to execute deployment steps. Now I know I

Re: [Kubernetes-Plugin] Declarative pipelines with Pod yaml, jnlp arguments issue

2018-05-01 Thread Matthew Ceroni
Why even over ride the JNLP container? Just use the default and add another container to the POD with your build tools (then you don't even have to use the YAML format since you won't require any of the extended benefits it provides). Then use the container step to execute in that container.

Re: How to disable a Jenkins Multibranch Pipeline job?

2018-05-01 Thread jieryn
That solution is kind of disappointing, it doesn't really disable the job. Someone can still run invoke it.. Also, there doesn't seem to be a way for me to remove the branches that were autovivified into the job. I'm trying to clean up, but am not ready yet to just delete the jobs. I guess

Re: how to configure new tag trigger jenkins job building

2018-05-01 Thread Victor Martinez
https://docs.gitlab.com/ee/integration/jenkins.html and https://docs.bitnami.com/1and1/how-to/create-ci-pipeline/ might help you out Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Re: How to execute sql queries through jenkins?

2018-05-01 Thread Victor Martinez
Likely you can start with: https://jenkins.io/doc/pipeline/tour/getting-started/ Then you can code your script to run the sql queries by command line and use the shell step if you use freestylejobs or sh step if you use pipelines. Although, you might require to ensure the configuration and

Re: How to disable a Jenkins Multibranch Pipeline job?

2018-05-01 Thread Victor Martinez
https://stackoverflow.com/questions/47840096/how-to-disable-a-jenkins-multibranch-pipeline-project 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 from it, send

Re: [Kubernetes-Plugin] Declarative pipelines with Pod yaml, jnlp arguments issue

2018-05-01 Thread Hung Do
I am running on Kubernetes plug 1.6.0 and Jenkins 2.89.4 btw. -- 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. To

[Kubernetes-Plugin] Declarative pipelines with Pod yaml, jnlp arguments issue

2018-05-01 Thread Hung Do
Hi everyone, I have a problem with this Jenkinsfile, which doesn't wants to build for me #!/usr/bin/env groovy pipeline { agent { kubernetes { label 'maven2' cloud 'openshift' serviceAccount 'jenkins' yaml """ apiVersion: v1 kind: Pod spec: containers: - name: