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

view name and view path arguments

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Platform: All, OS: All

    Description

      It would be good to use view name or environment variables CLEARCASE_VIEWNAME
      and CLEARCASE_VIEWPATH as arguments in mkview fields. I want to use it like this:
      -vws \\${COMPUTERNAME}\cc_store\db\${CLEARCASE_VIEWNAME}.vws

      Attachments

        Activity

          String#isEmpty() was added in java6 and so will not work in a java5 jvm

          peterkittreilly peterkittreilly added a comment - String#isEmpty() was added in java6 and so will not work in a java5 jvm
          abayer Andrew Bayer added a comment -

          Thanks for catching that - I've committed a fix to AbstractClearCaseScm,
          changing the isEmpty call to a length() == 0 comparison instead.

          abayer Andrew Bayer added a comment - Thanks for catching that - I've committed a fix to AbstractClearCaseScm, changing the isEmpty call to a length() == 0 comparison instead.

          Code changed in hudson
          User: : abayer
          Path:
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=17292
          Log:
          JENKINS-2994 - changing use of isEmpty() on a string to support JDK5.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : abayer Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java http://fisheye4.cenqua.com/changelog/hudson/?cs=17292 Log: JENKINS-2994 - changing use of isEmpty() on a string to support JDK5.

          Code changed in hudson
          User: : abayer
          Path:
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=17294
          Log:
          JENKINS-2994 - oops, committed without the fix.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : abayer Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java http://fisheye4.cenqua.com/changelog/hudson/?cs=17294 Log: JENKINS-2994 - oops, committed without the fix.
          anb0s anb0s added a comment -

          Hi,

          ${CLEARCASE_VIEWNAME} and ${CLEARCASE_VIEWPATH} are now replaced as expected.
          Thank You!

          Hm, ${COMPUTERNAME} is allways resolved to 'master'. I filed new bug for it:
          https://hudson.dev.java.net/issues/show_bug.cgi?id=3545

          Andre

          anb0s anb0s added a comment - Hi, ${CLEARCASE_VIEWNAME} and ${CLEARCASE_VIEWPATH} are now replaced as expected. Thank You! Hm, ${COMPUTERNAME} is allways resolved to 'master'. I filed new bug for it: https://hudson.dev.java.net/issues/show_bug.cgi?id=3545 Andre

          People

            sunfire sunfire
            anb0s anb0s
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: