Jenkins Pipeling ECS deployments plugin

2018-01-19 Thread Kai
Hi, It would be great if a plugin is available to support new ECS deployments where we just specify the ECS cluster, service name and docker image tag, and it just takes the existing task definition the service is mapped to and updates the image tag to the new one and updates the ecs service

Re: Jenkins Pipeline - build job step, ability to return build job number

2017-12-24 Thread Kai
wow, thanks so much! On Saturday, December 23, 2017 at 3:35:42 AM UTC-8, Victor Martinez wrote: > > The build job step returns a RunWrapper object, and in your case you can > use the getId method >

Jenkins Pipeline - build job step, ability to return build job number

2017-12-22 Thread Kai
Hi, We are using Jenkins Pipeline - build job step and wanted the ability to return build job number so that we can use the build job # in the next step. e.g. buildJobNumber=build job: 'my-test-job', parameters: [string(name: 'environment', value: 'QA')], quietPeriod: 10 Then be able to use bu

How to define LabelParameterValue in Jenkinsfile

2017-11-02 Thread Kai Wang
Hi, I have two jobs A and B. Job A calls Job B like this *build job: "B", parameters[[$class: 'LabelParameterValue', name: 'node', label: "${env.NODE_NAME}"]]* I know I am supposed to add a Label parameter in B. But the problem is B is a multiple branch pipeline project defined by Jenkinsfile.

Re: Jenkins conditional post-based action in a pipeline stage

2017-09-21 Thread Kai
fail of a step ? Thanks On Wednesday, September 20, 2017 at 1:50:21 PM UTC-7, Kai wrote: > > Hi, > > I have a pipeline with multiple stages and for my integration test stage, > I trigger my integration test. I wanted to setup some post-step based > logic where if the test job pa

Jenkins conditional post-based action in a pipeline stage

2017-09-20 Thread Kai
Hi, I have a pipeline with multiple stages and for my integration test stage, I trigger my integration test. I wanted to setup some post-step based logic where if the test job passes, it does some action and if the test job fails it performs a different action (e.g. send email) . stage('Run In

Re: Declarative Jenkinsfile for pullrequests.

2017-09-19 Thread Kai Mildner
I'm using the declarative Format, maybe with scripted parts? I'm not sure. Here is a short example how i do the checkout. pipeline{ agent {label 'master'} triggers { pollSCM('H 0 1 1 0') } options{ buildDiscarder(logRotator(numToKeepStr: '3')) timeout(time: 1, unit: 'H

Declarative Jenkinsfile for pullrequests.

2017-09-19 Thread Kai Mildner
#x27;**']] But then nothing builds. The git server is a local Bitbucket server. What can i do to get also pullrequests Building? Regards Kai -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group an

Re: jenkins pipeline script params not recognized, bad substitution error

2017-07-14 Thread Kai
thanks so much, that worked! On Tuesday, July 11, 2017 at 2:26:40 AM UTC-7, Jakub Pawlinski wrote: > > try using double quote: > > sh "python deploy.py ${params.version}" > > I think single quotes do not evaluate strings > -- You received this message because you are subscribed to the Google Gro

Invoking AWS lambda from Jenkins Pipeline Stage

2017-07-10 Thread Kai
Hi, Is there a plugin available to invoke AWS lambda from Jenkins Pipeline Stage ? Thanks -- 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+un

Re: jenkins pipeline script params not recognized, bad substitution error

2017-07-10 Thread Kai
I have a similar issue, I have a build job that is parameterized and am Not able to successfully use that parameter to pass as an argument to my python script in my pipeline stage On Monday, July 10, 2017 at 2:46:17 PM UTC-7, Justin Khoo wrote: > > how can I read in the params from jenkins scrip

possible to have jenkins job pass in parameter to next stage in pipeline

2017-07-10 Thread Kai
Hi, We have a stage in Jenkins pipeline where we invoke a Jenkins Job. (e.g. build job: ... ) Is there a way for that Jenkins job that is invoked to pass in a value/parameter to the next stage in the pipeline ? thanks -- You received this message because you are subscribed to the Google Gro

Jenkins Pipeline - CodeBuild stage

2017-07-07 Thread Kai
Hi, We are trying to leverage the awsCodeBuild plugin in out Jenkins pipeline However, the plugin seems limiting as we are not able to pass in override env vars to the CodeBuild project during build invocation. Is there a way to pass in override env vars to the CodeBuild project? Or, do we nee

How to pass parameters to Jenkins Pipeline?

2017-07-06 Thread Kai
Hi, We are trying to setup a Jenkins pipeline and have a Deploy step to deploy a specific version of the application. The pipeline job will be invoked programmatically by another system. Is there a way to pass in parameters programmatically to the pipeline job so it knows which version to depl

Re: Invoking jenkins job on separate Jenkins instance in Pipeline

2017-07-06 Thread Kai
er job that > resides on another jenkins master via a url. > > https://www.nczonline.net/blog/2015/10/triggering-jenkins-builds-by-url/ > > > > On Thu, Jul 6, 2017 at 8:28 AM, Kai > > wrote: > >> Hi, >> >> We need to create a pipeline where one of the

Re: Restricting Pipeline Job to run on specific slaves

2017-07-06 Thread Kai
uot;runs" the pipeline. > > On Thu, Jul 6, 2017 at 8:19 AM, Kai > > wrote: > >> Hi, >> >> I have created a pipeline job in Jenkins but I don't see a "Restrict >> where this project can be run" option. >> >> Is there a way to rest

Invoking jenkins job on separate Jenkins instance in Pipeline

2017-07-06 Thread Kai
Hi, We need to create a pipeline where one of the stages needs to invoke another job that lives on a separate Jenkins instance. Is this possible? If so, is there an example on how we can accomplish this? Thanks -- You received this message because you are subscribed to the Google Groups "Jen

Restricting Pipeline Job to run on specific slaves

2017-07-06 Thread Kai
Hi, I have created a pipeline job in Jenkins but I don't see a "Restrict where this project can be run" option. Is there a way to restrict pipeline jobs to run on specific slaves? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To un

Re: Workflow Jobs not appearing in queue

2015-12-20 Thread Kai H
Appears to have been fixed in the Jenkins core 1.642 version. I do see the Builds in the queue now. On Sunday, December 20, 2015 at 11:31:11 AM UTC+1, Kai H wrote: > > Hi, > > I tried this "adapted" example from the the TUTORIAL.md:371 ff: > > node ('

Workflow Jobs not appearing in queue

2015-12-20 Thread Kai H
o click on Proceed. The second job appears as pending in the project, yet when I look at the overall Jenkins build queue there is no trace of it at all. The document claims it would be shown as "part of " in the global Jenkins build queue. What am I missing? Kai. -- You received this m

Re: buildWithParameters API not returning JSON response for Jenkins 1.575

2014-10-09 Thread Kai
hing ;-) > > http://jenkins-ci.org/changelog#v1.561 > > What's new in 1.561 (2014/04/27) > • Return queue item location when triggering buildWithParameters. (issue > 13546) > > https://issues.jenkins-ci.org/browse/JENKINS-13546 > > On 09.10.2014, at 22:41, Kai >

buildWithParameters API not returning JSON response for Jenkins 1.575

2014-10-09 Thread Kai
Hi, I'm invoking a job in Jenkins like so: http://jenkins/job/test-job/buildWithParameters?environment=DEV&type=test with header Accept:application/json On Jenkins 1.552, when I invoke this API, I get a JSON response back I just upgraded to Jenkins 1.575, and whey I invoke the same API call w

show extra links in executor status by plugin

2014-05-25 Thread Kai-Hsiang Chang
Hi all, By default, there has project and buildnumber link in executor status and it's writen in executors.jelly. Is that possible to show some job-related information links in executor status by plugin? if possible, what's the extension point? Thanks! -- You received this message b

Re: Maven Builds - Slow Build Times on Jenkins Slaves

2014-03-28 Thread Kai
le one and see if you got > a different result. > > Apart from that, it would be really helpful if you could generate many > stacktraces in a dedicated jira, take them during those apparently idle > times to see what it's doing. > > Cheers > Le 27 mars 2014 17:08, &quo

Re: Maven Builds - Slow Build Times on Jenkins Slaves

2014-03-27 Thread Kai
Hi, just wanted to check-in if anyone has insights into this or if anyone else is experiencing similar issues with mvn build jobs running on jenkins slaves? Thanks. On Saturday, March 22, 2014 11:38:35 AM UTC-7, Kai wrote: > > Sorry for the late reply. Actually, it runs pretty quick when

Re: Maven Builds - Slow Build Times on Jenkins Slaves

2014-03-22 Thread Kai
On Tuesday, March 18, 2014 11:15:49 PM UTC-7, Baptiste Mathus wrote: > > Outside Jenkins, I mean. > Le 19 mars 2014 07:15, "Baptiste Mathus" > > a écrit : > >> Is it also slow if you run the maven build manually on that slave? >> Le 16 mars 2014 22:57, "

Maven Builds - Slow Build Times on Jenkins Slaves

2014-03-16 Thread Kai
Hi, We are currently on Jenkins 1.551 and are experiencing significant maven build slowness on our jenkins slaves. It seems deleting the target directory takes forever. Also, during the site phase, a step: "Archiving site from ..." comes and takes a while (even though archiving is disabled), th

Re: The network name cannot be found

2012-10-26 Thread kai zeng
Hi Vinod, I meet the same issue, have you resolve it? thanks luke On Wednesday, February 15, 2012 10:15:32 PM UTC+8, Vinod wrote: > > Hi All, > I am running master on linux machine and slave on Windows machine. > While running node job I get this message > where xx.xxx.xx.xxx is IP Address