Hello,
I have the following configuration for JJB: https://github.com/leapp-to/prototype/blob/master/centos-ci/jobs/integration...
At least the scm/git part looks merely identical to other JJB jobs I've seen before, but it seems that Jenkins is having trouble checking out the particular branch (https://ci.centos.org/job/leapp-integration-tests/8/console) as if there was some error in the expansion of '${{ghprbActualCommit}}'. I'm pretty sure I'm missing something basic, has anyone encountered this?
Cheers,
Pavel
Hi Pavel,
I have no direct solution but here we have a pretty extensive list of working configurations: https://github.com/almighty/almighty-jobs/blob/f9752ec3ee3c3e0fade27f11fa4cf...
I hope that helps your further investigations-.
- Konrad
On Thu, Apr 13, 2017 at 3:55 PM, Pavel Odvody podvody@redhat.com wrote:
Hello,
I have the following configuration for JJB: https://github.com/leapp-to/prototype/blob/master/centos- ci/jobs/integration_test.yml
At least the scm/git part looks merely identical to other JJB jobs I've seen before, but it seems that Jenkins is having trouble checking out the particular branch (https://ci.centos.org/job/leapp-integration-tests/8/console) as if there was some error in the expansion of '${{ghprbActualCommit}}'. I'm pretty sure I'm missing something basic, has anyone encountered this?
Cheers,
Pavel
-- Pavel Odvody podvody@redhat.com Sr. Software Engineer - Platform Engineering 5EC1 95C1 8E08 5BD9 9BBF 9241 3AFA 3A66 024F F68D
Ci-users mailing list Ci-users@centos.org https://lists.centos.org/mailman/listinfo/ci-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Apr 13 15:55, Pavel Odvody wrote:
Hello,
I have the following configuration for JJB: https://github.com/leapp-to/prototype/blob/master/centos-ci/jobs/integration...
At least the scm/git part looks merely identical to other JJB jobs I've seen before, but it seems that Jenkins is having trouble checking out the particular branch (https://ci.centos.org/job/leapp-integration-tests/8/console) as if there was some error in the expansion of '${{ghprbActualCommit}}'. I'm pretty sure I'm missing something basic, has anyone encountered this?
Cheers,
Pavel
-- Pavel Odvody podvody@redhat.com Sr. Software Engineer - Platform Engineering 5EC1 95C1 8E08 5BD9 9BBF 9241 3AFA 3A66 024F F68D
Ci-users mailing list Ci-users@centos.org https://lists.centos.org/mailman/listinfo/ci-users
Turns out double-braces aren't necessary in a direct declaration of the SCM section. It's only needed if the SCM section is in its own JJB block (which is nice because you can then re-use the block by name).
This PR should fix that: https://github.com/leapp-to/prototype/pull/53
- --Brian
On Thu, 2017-04-13 at 10:48 -0500, Brian Stinson wrote:
On Apr 13 15:55, Pavel Odvody wrote:
Hello, I have the following configuration for JJB: https://github.com/leapp-to/prototype/blob/master/centos-ci/jobs/in
tegration_test.yml
At least the scm/git part looks merely identical to other JJB jobs
I've seen before, but
it seems that Jenkins is having trouble checking out the particular
branch
(https://ci.centos.org/job/leapp-integration-tests/8/console) as if
there was
some error in the expansion of '${{ghprbActualCommit}}'. I'm pretty sure I'm missing something basic, has anyone encountered
this?
Cheers, Pavel -- Pavel Odvody podvody@redhat.com Sr. Software Engineer - Platform Engineering 5EC1 95C1 8E08 5BD9 9BBF 9241 3AFA 3A66 024F F68D
Turns out double-braces aren't necessary in a direct declaration of the SCM section. It's only needed if the SCM section is in its own JJB block (which is nice because you can then re-use the block by name).
This PR should fix that: https://github.com/leapp-to/prototype/pull/53
--Brian
Unfortunately there must be more to this issue since the problem still persists https://ci.centos.org/job/leapp-integration-tests/11/console
Cheers,
Pavel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Apr 18 11:22, Pavel Odvody wrote:
On Thu, 2017-04-13 at 10:48 -0500, Brian Stinson wrote:
On Apr 13 15:55, Pavel Odvody wrote:
Hello, I have the following configuration for JJB: https://github.com/leapp-to/prototype/blob/master/centos-ci/jobs/in
tegration_test.yml
At least the scm/git part looks merely identical to other JJB jobs
I've seen before, but
it seems that Jenkins is having trouble checking out the particular
branch
(https://ci.centos.org/job/leapp-integration-tests/8/console) as if
there was
some error in the expansion of '${{ghprbActualCommit}}'. I'm pretty sure I'm missing something basic, has anyone encountered
this?
Cheers, Pavel -- Pavel Odvody podvody@redhat.com Sr. Software Engineer - Platform Engineering 5EC1 95C1 8E08 5BD9 9BBF 9241 3AFA 3A66 024F F68D
Turns out double-braces aren't necessary in a direct declaration of the SCM section. It's only needed if the SCM section is in its own JJB block (which is nice because you can then re-use the block by name).
This PR should fix that: https://github.com/leapp-to/prototype/pull/53
--Brian
Unfortunately there must be more to this issue since the problem still persists https://ci.centos.org/job/leapp-integration-tests/11/console
Cheers,
Pavel
-- Pavel Odvody podvody@redhat.com Sr. Software Engineer - Platform Engineering 5EC1 95C1 8E08 5BD9 9BBF 9241 3AFA 3A66 024F F68D
Can you try another build?
There was a bug in the ci-index script that looks for changes to the JJB templates. When the changes were merged to master the jobs didn't get updated. I think I have the but fixed, and the jobs were just now updated.
- --Brian