title: Adding SVN revision and build number from Jenkins with GruntJS
body: <p>I've just started to use Gruntjs over visual studio build scripts for some js projects.
  The only thing i would still like to be able to do that haven't figured out is append an environmental variable into a banner. </p>
  
  <p>For example in the gruntFile.js i have..</p>
  
  <pre><code>concat: {
          options: {
              separator: '',
              banner: '/*!\n My App v&lt;%= pkg.version %&gt; \n Date: &lt;%= grunt.template.today("dd-mm-yyyy MM:hh:ss") %&gt; \n Revision: */\n'
          },
          basic_and_extras: {
              .....
          }
      }
  </code></pre>
  
  <p>I'm using Jenkins as Build server and there are two environmental variables available:</p>
  
  <p>SVN_REVISION
      Subversion revision number that's currently checked out to the workspace, such as "12345"</p>
  
  <p>BUILD_NUMBER
      The current build number, such as "153"</p>
  
  <p>What i would like to do is find a way to pick up this and add it to the banner. (or package.json)?</p>
  
  <p>Is this possible?</p>