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

Support for ssh keys in Stash Pull Request Plugin

XMLWordPrintable

      As a user I would like to have possibility to use ssh credentials in Stash Pull Rquest plugin.

      Currently, when user selects ssh credentials in job configuration (check screen), below exception occurs.

      java.lang.NullPointerException
      	at stashpullrequestbuilder.stashpullrequestbuilder.StashBuildTrigger.getUsername(StashBuildTrigger.java:118)
      	at stashpullrequestbuilder.stashpullrequestbuilder.StashRepository.init(StashRepository.java:62)
      	at stashpullrequestbuilder.stashpullrequestbuilder.StashPullRequestsBuilder.run(StashPullRequestsBuilder.java:31)
      	at stashpullrequestbuilder.stashpullrequestbuilder.StashBuildTrigger.run(StashBuildTrigger.java:223)
      	at hudson.triggers.Trigger.checkTriggers(Trigger.java:273)
      	at hudson.triggers.Trigger$Cron.doRun(Trigger.java:222)
      	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

        1. ssh_key.png
          25 kB
          Maciej Zielinski

            nemccarthy nathan m
            mzielinski Maciej Zielinski
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: