title: Jenkins scripted pipeline or declarative pipeline
body: <p>I'm trying to convert my old style project base workflow to a pipeline based on Jenkins. While going through <a href="https://jenkins.io/doc/book/pipeline/" rel="noreferrer">docs</a> I found there are two different syntaxes named <code>scripted</code> and <code>declarative</code>. Such as the Jenkins web <code>declarative</code> syntax release recently (end of 2016). Although there is a new syntax release Jenkins still supports scripted syntax as well.</p>
  <p>Now, I'm not sure in which situation each of these two types would be a best match. So will <code>declarative</code> be the future of the Jenkins pipeline?</p>
  <p>Anyone who can share some thoughts about these two syntax types.</p>