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

CLEARCASE_VIEWPATH contains backslash ( \ ) on Unix

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Master: Jenkins 1.504 on Windows with ClearCase plugin 1.3.14
      Slave: RHEL5

    Description

      When using the clearcase plugin on a Unix slave, the CLEARCASE_VIEWPATH variable is set incorrectly using a backslash instead of a slash.

      Ex:
      WORKSPACE=/workspace
      CLEARCASE_VIEWNAME=myview
      CLEARCASE_VIEWPATH=/workspace\myview

      should be
      CLEARCASE_VIEWPATH=/workspace/myview

      CLEARCASE_VIEWPATH is set correctly on windows (e.g. %CLEARCASE_VIEWPATH% = %WORKSPACE%%CLEARCASE_VIEWNAME%)

      Can work around it by using ${WORKSPACE}/${CLEARCASE_VIEWNAME}, but still should be fixed.

      Attachments

        Activity

          Code changed in jenkins
          User: Vincent LATOMBE
          Path:
          src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
          src/test/java/hudson/plugins/clearcase/AbstractClearCaseScmTest.java
          src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java
          http://jenkins-ci.org/commit/clearcase-plugin/cf9e0b69152080219c4c290e247c2ba574cab8cb
          Log:
          [FIXED JENKINS-18416] Use the build's node file separator to build
          CLEARCASE_VIEWPATH instead of the master's file separator.

          Compare: https://github.com/jenkinsci/clearcase-plugin/compare/804c9faca5b1...cf9e0b691520

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent LATOMBE Path: src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java src/test/java/hudson/plugins/clearcase/AbstractClearCaseScmTest.java src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java http://jenkins-ci.org/commit/clearcase-plugin/cf9e0b69152080219c4c290e247c2ba574cab8cb Log: [FIXED JENKINS-18416] Use the build's node file separator to build CLEARCASE_VIEWPATH instead of the master's file separator. Compare: https://github.com/jenkinsci/clearcase-plugin/compare/804c9faca5b1...cf9e0b691520

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
          src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java
          src/main/java/hudson/plugins/clearcase/util/BuildUtils.java
          http://jenkins-ci.org/commit/clearcase-plugin/1e9d3a6fbcbb9339813dcc79604b66a997b7d587
          Log:
          JENKINS-18416 Fixing Unit Tests

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java src/main/java/hudson/plugins/clearcase/util/BuildUtils.java http://jenkins-ci.org/commit/clearcase-plugin/1e9d3a6fbcbb9339813dcc79604b66a997b7d587 Log: JENKINS-18416 Fixing Unit Tests

          People

            vlatombe Vincent Latombe
            jthornsen Jeff Thornsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: