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

Use System credentials with jira step plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • jira-steps-plugin
    • None
    • jenkins 2.176.3 jira-steps:1.6.0

      When i configure Jira sites in Jira Steps global configuration i choose login type credentials.

      Then I select a System credentials and click on Test Connection it's success.

       

      Then i try to create a pipeline job only with this line : 

      jiraGetServerInfo site: 'my-jira-site'

       

      I have the following result in my build : 

      ERROR: Current credentials does not exists

      If I change the system credentials into a global credentials it works as expected.

      For security reason i don't want that users of my jenkins instances can use the Jira account credentials with a withCredentials call.

            nrayapati Naresh Rayapati
            gregory_boue Grégory Boué
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: