Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10702

Need option to set the primary group of the user for all clearcase operations (newgrp)

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin
    • None
    • RHEL 5.0

      We have a single user that has access to all the clearcase vobs. However access to each of the vobs is restricted by the user's primary group. We have several groups. We currently alter this by using the newgrp command.

      Can Jenkins enable this option too?

      Thanks

      Rumble

          [JENKINS-10702] Need option to set the primary group of the user for all clearcase operations (newgrp)

          This is non-trivial, since newgrp actually executes a new shell and new group is set only within this shell. Since Jenkins is not talking to a shell but rather executes processes directly this is not possible without some major logic in command launcher. I'm not saying it's not possible, but it's definitely not a one-liner.

          Krzysztof Malinowski added a comment - This is non-trivial, since newgrp actually executes a new shell and new group is set only within this shell. Since Jenkins is not talking to a shell but rather executes processes directly this is not possible without some major logic in command launcher. I'm not saying it's not possible, but it's definitely not a one-liner.

          Maybe possible through a BuildWrapper implementation, wrapping Launcher within a sg call. In any case, this is not within the Clearcase plugin scope.

          Vincent Latombe added a comment - Maybe possible through a BuildWrapper implementation, wrapping Launcher within a sg call. In any case, this is not within the Clearcase plugin scope.

            Unassigned Unassigned
            rumble Phil Rumble
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: