IBM Support

PH05280: INTEGRATION TESTER TEST EXECUTION PLUGIN DOES NOT SEE JENKINS ENVIRONMENT VARIABLES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • If you set an environment variable in Jenkins, it is not seen by
    a subsequent Run Integration Tester Tests task.
    
    STEPS TO REPRODUCE:
    
    1. Create a Jenkins build task to inject a variable, for example
    using the Jenkins Environment Injector Plugin
    
    2. Configure a RIT test with an environment tag matching the
    variable name; add a Log action to display the value.
    
    3. Add a Run Integration Tester Tests task to run a test to use
    this variable as an environment tag.
       Configure it with Advanced setting Environment tags = env to
    use environment variables.
    
    4. Run the Jenkins build
    
    EXPECTED RESULTS:
    
    The test prints the new environment value.
    
    ACTUAL RESULTS:
    
    The default environment tag value is used.
    
    WORKAROUND:
    
    Add a Windows BAT or Shell task to use RunTests
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Rational Integration Tester using the Jenkins       *
    * plugin and using environment variables.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Environment variables were not being passed correctly from   *
    * the Jenkins runtime environment to the test engine.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in version 9.2.1.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH05280

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    921

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-11-14

  • Closed date

    2018-12-21

  • Last modified date

    2018-12-21

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels



Document information

More support for: Rational Test Workbench

Software version: 921

Reference #: PH05280

Modified date: 21 December 2018