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

Unable to add environment variable for jcasc token

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      GSoC 2019. Coding Phase 1

      Attachments

        Activity

        baymac Parichay Barpanda created issue -
        baymac Parichay Barpanda made changes -
        Field Original Value New Value
        Epic Link JENKINS-57445 [ 199258 ]
        baymac Parichay Barpanda made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        baymac Parichay Barpanda added a comment -

        To populate environment variable, 

        if your using mvn hpi:run you can do GITLAB_PERSONAL_ACCESS_TOKEN="MYTOKEN" mvn hpi:run 

        Or inside IntelliJ run configuration, you can add the environment variable

        Show
        baymac Parichay Barpanda added a comment - To populate environment variable,  if your using  mvn hpi:run  you can do  GITLAB_PERSONAL_ACCESS_TOKEN="MYTOKEN" mvn hpi:run  Or inside IntelliJ run configuration, you can add the environment variable
        baymac Parichay Barpanda made changes -
        Comment [ To populate environment variable, 

         

        if your using {color:#FF0000}{{mvn hpi:run}}{color} you can do {{GITLAB_PERSONAL_ACCESS_TOKEN="MYTOKEN" mvn hpi:run }}

        Or inside {color:#FF0000}IntelliJ{color} run configuration, you can add the environment variable ]
        baymac Parichay Barpanda made changes -
        Status In Progress [ 3 ] In Review [ 10005 ]
        Hide
        baymac Parichay Barpanda added a comment -

        Had a misunderstanding between global properties and environment variable.

        Show
        baymac Parichay Barpanda added a comment - Had a misunderstanding between global properties and environment variable.
        baymac Parichay Barpanda made changes -
        Resolution Fixed [ 1 ]
        Status In Review [ 10005 ] Resolved [ 5 ]

          People

          Assignee:
          baymac Parichay Barpanda
          Reporter:
          baymac Parichay Barpanda
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved: