How to use Rhapsody from Jenkins to generate code - Facing License issue












0















I am trying to generate code from RhapsodyCL using a batch script. When I run this batch script using cmd, the code is generated just fine but when I try to generate code via Jenkins I am getting error in the Jenkins build output which I think is because of trying to start RhapsodyCL due to 'license not found'.



The error in Jenkins console output looks like:



11:33:10 C:Test>rhapsodyCL.exe -f C:Test1Test-BitBucketscript.bat 
11:33:13
11:33:13 C:Test>exit -1


-1 is the rhapsody return code for license not found.



So is this a Jenkins issue that it can not find the Rhapsody license ? Or is it something else ?










share|improve this question





























    0















    I am trying to generate code from RhapsodyCL using a batch script. When I run this batch script using cmd, the code is generated just fine but when I try to generate code via Jenkins I am getting error in the Jenkins build output which I think is because of trying to start RhapsodyCL due to 'license not found'.



    The error in Jenkins console output looks like:



    11:33:10 C:Test>rhapsodyCL.exe -f C:Test1Test-BitBucketscript.bat 
    11:33:13
    11:33:13 C:Test>exit -1


    -1 is the rhapsody return code for license not found.



    So is this a Jenkins issue that it can not find the Rhapsody license ? Or is it something else ?










    share|improve this question



























      0












      0








      0








      I am trying to generate code from RhapsodyCL using a batch script. When I run this batch script using cmd, the code is generated just fine but when I try to generate code via Jenkins I am getting error in the Jenkins build output which I think is because of trying to start RhapsodyCL due to 'license not found'.



      The error in Jenkins console output looks like:



      11:33:10 C:Test>rhapsodyCL.exe -f C:Test1Test-BitBucketscript.bat 
      11:33:13
      11:33:13 C:Test>exit -1


      -1 is the rhapsody return code for license not found.



      So is this a Jenkins issue that it can not find the Rhapsody license ? Or is it something else ?










      share|improve this question
















      I am trying to generate code from RhapsodyCL using a batch script. When I run this batch script using cmd, the code is generated just fine but when I try to generate code via Jenkins I am getting error in the Jenkins build output which I think is because of trying to start RhapsodyCL due to 'license not found'.



      The error in Jenkins console output looks like:



      11:33:10 C:Test>rhapsodyCL.exe -f C:Test1Test-BitBucketscript.bat 
      11:33:13
      11:33:13 C:Test>exit -1


      -1 is the rhapsody return code for license not found.



      So is this a Jenkins issue that it can not find the Rhapsody license ? Or is it something else ?







      jenkins rhapsody






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 21 '18 at 7:04









      RalfFriedl

      5811211




      5811211










      asked Nov 21 '18 at 6:35









      NileshNilesh

      62




      62
























          1 Answer
          1






          active

          oldest

          votes


















          0














          There are not many details in your question but rhapsody code generation via jenkins has worked for me in the past so:



          Is it rhapsody installed for All Users in the jenkins machine?






          share|improve this answer
























          • Many thanks for the reply. Yes it is installed for all the accounts. I even checked it system application and that is running fine but still no luck in getting the license. I am wondering is it actually a license issue.

            – Nilesh
            Jan 13 at 14:55













          • more questions: can you run again RhapsodyCL with the -verbose flag (to get more error details)? when you mention you ran it succesfully via cmd, it was on the Jenkins node, right?

            – YaP
            Jan 14 at 13:48











          • Yes it was on the same computer that of Jenkins server. I will try with the verbose as well. Many thanks

            – Nilesh
            Jan 17 at 9:42













          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53406456%2fhow-to-use-rhapsody-from-jenkins-to-generate-code-facing-license-issue%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          There are not many details in your question but rhapsody code generation via jenkins has worked for me in the past so:



          Is it rhapsody installed for All Users in the jenkins machine?






          share|improve this answer
























          • Many thanks for the reply. Yes it is installed for all the accounts. I even checked it system application and that is running fine but still no luck in getting the license. I am wondering is it actually a license issue.

            – Nilesh
            Jan 13 at 14:55













          • more questions: can you run again RhapsodyCL with the -verbose flag (to get more error details)? when you mention you ran it succesfully via cmd, it was on the Jenkins node, right?

            – YaP
            Jan 14 at 13:48











          • Yes it was on the same computer that of Jenkins server. I will try with the verbose as well. Many thanks

            – Nilesh
            Jan 17 at 9:42


















          0














          There are not many details in your question but rhapsody code generation via jenkins has worked for me in the past so:



          Is it rhapsody installed for All Users in the jenkins machine?






          share|improve this answer
























          • Many thanks for the reply. Yes it is installed for all the accounts. I even checked it system application and that is running fine but still no luck in getting the license. I am wondering is it actually a license issue.

            – Nilesh
            Jan 13 at 14:55













          • more questions: can you run again RhapsodyCL with the -verbose flag (to get more error details)? when you mention you ran it succesfully via cmd, it was on the Jenkins node, right?

            – YaP
            Jan 14 at 13:48











          • Yes it was on the same computer that of Jenkins server. I will try with the verbose as well. Many thanks

            – Nilesh
            Jan 17 at 9:42
















          0












          0








          0







          There are not many details in your question but rhapsody code generation via jenkins has worked for me in the past so:



          Is it rhapsody installed for All Users in the jenkins machine?






          share|improve this answer













          There are not many details in your question but rhapsody code generation via jenkins has worked for me in the past so:



          Is it rhapsody installed for All Users in the jenkins machine?







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 9 at 7:53









          YaPYaP

          134111




          134111













          • Many thanks for the reply. Yes it is installed for all the accounts. I even checked it system application and that is running fine but still no luck in getting the license. I am wondering is it actually a license issue.

            – Nilesh
            Jan 13 at 14:55













          • more questions: can you run again RhapsodyCL with the -verbose flag (to get more error details)? when you mention you ran it succesfully via cmd, it was on the Jenkins node, right?

            – YaP
            Jan 14 at 13:48











          • Yes it was on the same computer that of Jenkins server. I will try with the verbose as well. Many thanks

            – Nilesh
            Jan 17 at 9:42





















          • Many thanks for the reply. Yes it is installed for all the accounts. I even checked it system application and that is running fine but still no luck in getting the license. I am wondering is it actually a license issue.

            – Nilesh
            Jan 13 at 14:55













          • more questions: can you run again RhapsodyCL with the -verbose flag (to get more error details)? when you mention you ran it succesfully via cmd, it was on the Jenkins node, right?

            – YaP
            Jan 14 at 13:48











          • Yes it was on the same computer that of Jenkins server. I will try with the verbose as well. Many thanks

            – Nilesh
            Jan 17 at 9:42



















          Many thanks for the reply. Yes it is installed for all the accounts. I even checked it system application and that is running fine but still no luck in getting the license. I am wondering is it actually a license issue.

          – Nilesh
          Jan 13 at 14:55







          Many thanks for the reply. Yes it is installed for all the accounts. I even checked it system application and that is running fine but still no luck in getting the license. I am wondering is it actually a license issue.

          – Nilesh
          Jan 13 at 14:55















          more questions: can you run again RhapsodyCL with the -verbose flag (to get more error details)? when you mention you ran it succesfully via cmd, it was on the Jenkins node, right?

          – YaP
          Jan 14 at 13:48





          more questions: can you run again RhapsodyCL with the -verbose flag (to get more error details)? when you mention you ran it succesfully via cmd, it was on the Jenkins node, right?

          – YaP
          Jan 14 at 13:48













          Yes it was on the same computer that of Jenkins server. I will try with the verbose as well. Many thanks

          – Nilesh
          Jan 17 at 9:42







          Yes it was on the same computer that of Jenkins server. I will try with the verbose as well. Many thanks

          – Nilesh
          Jan 17 at 9:42




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53406456%2fhow-to-use-rhapsody-from-jenkins-to-generate-code-facing-license-issue%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          MongoDB - Not Authorized To Execute Command

          Npm cannot find a required file even through it is in the searched directory

          in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith