node{
    stage("Preparation"){
		checkout scm
        sh"""\
            echo ${RELEASE}
        """
    }
    stage("Build"){
        withEnv(["PATH+NODE=${tool name: 'v6.9.0 LTS', type: 'jenkins.plugins.nodejs.tools.NodeJSInstallation'}/bin"]) {
			sh 'npm install'
            sh 'gulp build'
          }
    }
    stage("Publish"){
    		sh"""\
                echo ${RELEASE}
            """

    }
}
