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

sbt plugin is not compatible with new pipeline

XMLWordPrintable

      I am running Jenkins 2. I am trying to build from a Jenkinsfile

      The existing custom tools plugin is not compatiable with pipeline

      https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md

      https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md

      https://github.com/tonymurphy/sbt-pipeline

      #!groovy
      
      node {
      
          wrap([$class: 'AnsiColorBuildWrapper', colorMapName: 'xterm']) {
              stage 'compile'
      
              def activatorHome  = tool "activator-1.3.x"
      
              stage name: 'package', concurrency: 1
              sh "${activatorHome}/activator debian:package-bin"
          }
      }
      
      

            uzilan uzilan
            tony_murphy Tony Murphy
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: