[Ci-users] JJB Config & Git Repository Settings

Brian Stinson brian at bstinson.com
Thu Apr 13 15:48:50 UTC 2017


-----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_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 at redhat.com>
> Sr. Software Engineer - Platform Engineering
> 5EC1 95C1 8E08 5BD9 9BBF 9241 3AFA 3A66 024F F68D
> 



> _______________________________________________
> Ci-users mailing list
> Ci-users at 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 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJY753iAAoJEIMGvNKzCweMomoQAKd6BOgGf5aq8FA+IAu1KzlJ
nZI5BUMk2ZgUAfKWYLrvFElPHXIZK2RK9aK8vw8KWXKBlh80Kmlz5zFQMjvekhEM
oEsXNbhF2Y0U9NjkcDhVo8eglUY6HtMYbbUx8yy6Z3jarYpKLwScqasEZlu1QDHG
sUQWP035R51IJrqu62TJG3KLG3HiRAH9GYVgJd+2BExU1qZx972Ib72ULuHciUNy
TNbPOvKn4dCp1gv0X3AQd0z9jJGwYmyMp24Bgy0ERer1got0aV9Z7Ey4IE2x4PEJ
N8eaSHAoolcCVUMvX+SbwZmaOTApCCViOWnZHdbwlV8VSTMW4RC4LNCP4l9ytjpA
il0tOoYZrWEs+r7lFgE02gU2bPPnG1UA0ik7ZlZuGHhLQlqsUU3ejnIGe/juRRdB
uHdqDceb7dkg3XfH0iR4/e3tyAIGX8/deaVk58N/s2asl1BzcrGlR43ae13+idHb
75c2O+a5A/xxQSgshLiaTSz0TWPC02MTZQgtBI7um6J4OetxaqolcfDQqPGgOzso
XuuOJYdjNuqmCv2MV85dhwkcypWR48kIZXt3TGQHjEt0kGTKw52RnWolnrO1OW0e
623FYcca73hGX2JI10StiN5XCox/pWohCOjtFhNcd0jPUNYkULSMeWtEUVKyC2gs
Lv7Ol3LCekV63TuhAsNY
=kWxZ
-----END PGP SIGNATURE-----



More information about the Ci-users mailing list