•  
      story #9322 pass additional parameters to Hudson jobs as already done for ‘Artefact’ Actions
    Summary
    Tuleap user
    pass additional parameters to Hudson jobs as already done for ‘Artefact’ Actions
    The job Gets the following parameters :

    - userId: Identifier (integer) of Tuleap user who made the commit
    - projectId: Identifier (integer) of the current project
    - Repository: URL (String) of the updated repository (ssh://gitolite@codex.cro.st.com/ictswandsyengiarchi/GitTrigger.git)
    http://svn.ictswandsyengiarchi.codex.cro.st.com/svnroot/ICTSwAndSyEngiArchi
    - Branch: Value (string) of committed Branch/Tag [If possible]
    i.e. master, VAL_<xxx>_<nnnn>
    All above parameters will be visible by remote jobs
    Empty
    Empty
    Status
    Empty
    Done
    Development
    • [ ] Does it involves User Interface? 
    • [ ] Are there any mockups?
    • [ ] Are permissions checked?
    • [ ] Does it need Javascript development?
    • [ ] Does it need a forge upgrade bucket?
    • [ ] Does it need to execute things in system events?
    • [ ] Does it impact project creation (templates)?
    • [ ] Is it exploratory?
    Empty
    Details
    #9322
    BEN MANSOUR Med Rafik (benm)
    2016-09-30 11:02
    2016-07-11 13:08
    9603

    References

    Follow-ups

    User avatar
    If I use \t as separator,
    if Tuleap is used on a Windows plateform and if I have the following svn directory:
    C:\svn\trunk

    the parsing will fail
    User avatar
    Hello,

    We have some ask about the story:
    Svn post-commit hook enables us to retrieve only updated path and does not directly give us the committed branch/tag.

    If I have have the following svn structure:
    /trunk
    /folder,1
    file1
    /folder*4
    file2
    /tags

    If I add content in file 1 and file2 the post commit will give me the updated paths:
    /trunk/folder,1 and /trunk/folder*4

    how can we provide the correct parameters as a string to jenkins? How can you parse them on the
    other way as any special character can be used in folder name?

    Best regards
    User avatar

    As discussed today, please update the story with a better title and split with 1 story per service.

    User avatar
    • I want to
      -pass parameters to Hudson jobs as already done for ‘Artefact’ Actions 
      +pass additional parameters to Hudson jobs as already done for ‘Artefact’ Actions