jenkins_pipeline_builder 0.10.13 → 0.10.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzcxMzVkZDI1ODAzOWFkZGQxMWIwOTg1MzE1YTdjN2M2OGUwNjUwZA==
4
+ OGIzMDU1ZWQ5YmQyOWU5YmYzYTI4NzFhYzVkYmU5ZjBhMjVlMGNhZA==
5
5
  data.tar.gz: !binary |-
6
- YzRkZjVjNWU0OTg2OGNkMWE3NDMxOTUxYjg2YTBlZjFhMDMxNTdiZQ==
6
+ YzQ4MzNhNGRiNzRmYTc4N2M0MGNkYjdmMjY4MjlkYWIwODI5NGQzNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDk0MDhhMmYwMGUxYThmZGEwMmU0Y2U1Y2ZhNmIxNDE1ZWI1NTM5MGI5MmRi
10
- MDM3NTY0NTcwNzdkZGFkOTMwZDA4ZDkwYzBlMjhmNzY4OTg1ZmY3MDVmY2Nl
11
- M2EzMThkMDBiZTRjZWViYzBmNzgyOTA4YTY3MjNlMjU4MTljNzk=
9
+ M2YzZmUyZjZmNmJiMzBkYTI1MDRjYjM0NjczNTQ2NTUyMjc5YTIyMjhmYzA1
10
+ OWU4MTQ5NWJkMjc5M2EyOGVkZjMwY2E3YzY4YzgwNzQ4YzNmNDg0MTdjMDRl
11
+ MjY3ZTdlYWVlMWMwZTU2YzY4ZWU0YjkwMzBlMDgxZWU5YmY4NTY=
12
12
  data.tar.gz: !binary |-
13
- OTA4NThkMzdmYTVjZTY0YzcyZTk5ZjQ5Y2ZmNzM5MWViM2ExOWYwNzFlZmRk
14
- MjBiZTM1YTRjMWUwNGUwODY0ZjQwYjUxNDdjZjJiNGUyMTdhN2Q1MWM1Mjg4
15
- ODEwMjg5OWQ3YTAwOTlhMTc1Mzc1YWExMjU3MDdhMDc3ZTlmYzA=
13
+ MTQ0NGVmMTFhNjA5ZGE0NGM5OGQzMGExM2UzNGJhNzQ1NTJhMzQ1OWIxZjVk
14
+ YmRiODgwYjI1ZDEwZDA0YjdlMjMxYzMxYTVkYzM5NWYwMTgyYTU4OTJmN2My
15
+ NjU2Njk2ZTk2OTBmYjlkZmRiZGFhODc2NjQ5NjRlZWVjZjczZWM=
@@ -148,7 +148,10 @@ module JenkinsPipelineBuilder
148
148
  # pull@ designates that this is a reference to a job that will be generated
149
149
  # for a pull request, so we want to save the resolution for the second pass
150
150
  pull_job = value.to_s.match(/{{pull@(.*)}}/)
151
- return pull_job[1] if pull_job
151
+ if pull_job
152
+ return pull_job[1] unless settings[:pull_request_number]
153
+ value = pull_job[1]
154
+ end
152
155
 
153
156
  settings = settings.with_indifferent_access
154
157
  value_s = value.to_s.clone
@@ -21,5 +21,5 @@
21
21
  #
22
22
 
23
23
  module JenkinsPipelineBuilder
24
- VERSION = '0.10.13'
24
+ VERSION = '0.10.14'
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jenkins_pipeline_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.13
4
+ version: 0.10.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Moochnick
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-01 00:00:00.000000000 Z
12
+ date: 2015-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri