Get Involved. Join the Conversation.


    DevCS Integration with ALM
    Topic posted August 2, 2018 by Satshah Blue Ribbon: 750+ Points, tagged Build, Deployment, Git, Maven, Testing 
    224 Views, 14 Comments
    DevCS Integration with ALM
    DevCS Integration with ALM

    Hi All,

    I am looking for integrating DevCS with ALM.

    We were able automate the code deployment however after code gets deployed we want to execute test scripts and log a defect if encountered. do we have this kind of functionality available in DevCS, if not can we integrate it with ALM and do that?





    • Shay Shmeltzer

      Yes you can.

      Specifically - DevCS support running JUnit and Selenium tests on an application. You can incorporate these as build jobs and add them to a pipeline.

      Publishing JUnit Results Post Build

      Viewing a Build’s Test Results


      As for filing issues automatically - you can create scripts that will do this through the REST API we provide for the Issue tracking system:


    • Satshah

      Thanks Shay,

      Is there any plugin for DevCS hudson to get integrated with HP ALM to be specific, I assume what you are suggesting is the outbox solution



    • Shay Shmeltzer

      There is no plug-in that I'm familiar with, so the REST approach I mentioned above (or potentially webhooks integration) will be the solution to look at.

    • Satshah

      Hi Shay,

      We are calling REST API (of Yahoo weather) from Developer cloud service through Node JS Script. We are getting an Etimeout error every time. Can you help us how to resolve this timeout issue?



    • Shay Shmeltzer
       Have you set the proxy for your Node.js script? You might need to do this based on the proxy environment variables - you can find the info about those variables in the DevCS doc. ${env.HTTP_PROXY_PORT} ${env.HTTP_PROXY_HOST}
    • Ruchir Nema

      Yes, we have used the proxy environment variables in our code.

      Below is the sample code - 

      var Http = require('http');
              var req = Http.request({
          host: '$HTTP_PROXY_HOST',
          // proxy IP
          port: '$HTTP_PROXY_PORT',
          // proxy port
          method: 'GET',
          path: '' // full URL as path
          }, function (res) {
              res.on('data', function (data) {


      When we execute the above code ,it throws error - $HTTP_PROXY_PORT is not defined.

      We are not able to directly use environment variables.



    • Ruchir Nema

      We are printing environment variables $HTTP_PROXY in console log - 

      console.log("Host value" +${env.HTTP_PROXY_HOST} or console.log("Host value" +${HTTP_PROXY_HOST}.

      We are getting error - Variable not defined.


    • Shay Shmeltzer

      Are you using the new Developer Cloud Service (with compute based build servers and pipelines), or are you using "Developer Classic" that uses the shared build executors?

    • Shay Shmeltzer

      Also - does it work with another REST service such as:

      Try it from a shell script with curl, and from your code.

    • Satshah

      We tried to hit URL from curl language, but it gives connection timeout error. We are not able to hit any https url from devs, neither through node js nor through curl. Please let me know how we can hit HTTPS url through devcs.

      We are gettting below error for https - 

      curl: (7) couldn't connect to host


    • Shay Shmeltzer

      Can you check if you are using Developer Classic or the new compute based build VM Developer Cloud Service?

    • Ruchir Nema

      Hi Shay,

      we are still on compute classic. Will this feature be available as part of Gen2 Developer cloud service?

    • Shay Shmeltzer

      I think you'll need to open an SR to track this down.

      I tries on both DevCS Classic and the new DevCS and issuing the following in a build step worked on both:



    • Ruchir Nema

      Thanks a lot Shay. It is working now. Your inputs helped a lot.