lhupfeldt / jenkinsflow

Python API with high level build flow constructs for jenkins/hudson
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

Adding _DelayedSingleJob #6

Closed lechat closed 10 years ago

lechat commented 11 years ago

Hi, Lars

Just to let you know, I created quick and dirty implementation of new invocation type: invoke_delayed. In this invocation the job is not going to call jenkins for Job object till right before it will be invoked. This is to be able to call a job, that is being created by a job executed within pipeline.

Once I finish with it, I will create pull request.

Also, take a look at jenkinsapi, there is a new way to invoke jobs has been introduced recently.

Aleksey

lhupfeldt commented 11 years ago

Hi Aleksey,

That sounds like a good idea.

Sorry that I have been so slow in responding to pull requests. I had to reinstall my computer, which gave me a lot of headaches because of a bad EFI implementation. Don't buy Asus motherboards.

Venlig hilsen, Lars Den 08/07/2013 09.54 skrev "Aleksey Maksimov" notifications@github.com:

Hi, Lars

Just to let you know, I created quick and dirty implementation of new invocation type: invoke_delayed. In this invocation the job is not going to call jenkins for Job object till right before it will be invoked. This is to be able to call a job, that is being created by a job executed within pipeline.

Also, take a look at jenkinsapi, there is a new way to invoke jobs has been introduced recently.

Aleksey

— Reply to this email directly or view it on GitHubhttps://github.com/lhupfeldt/jenkinsflow/issues/6 .

lechat commented 11 years ago

Lars,

Take a look at this:

https://github.com/salimfadhley/jenkinsapi/blob/master/jenkinsapi/invocation.py

Looks like something you're doing in jenkinsflow, isn't it? ;)

lhupfeldt commented 10 years ago

It is now an argument to flows whether to allow missing jobs.