Commit 25fdbd05 authored by Christoph Häfner's avatar Christoph Häfner

Fix replace:jenkins buildid

parent c3a88c6d
......@@ -133,7 +133,7 @@ module.exports = function (grunt) {
{
match: 'buildid',
replacement: function() {
return (typeof grunt.option('buildid') === 'string') ? grunt.option('buildid') : '@@';
return grunt.option('artifactname');
}
},
{
......@@ -158,7 +158,7 @@ module.exports = function (grunt) {
var artifactname = 'cats-app';
if(typeof grunt.option('artifactname') === 'string')
artifactname = grunt.option('artifactname');
return 'build/' + artifactname + '.tar.gz'
return 'build/' + artifactname + '.tar.gz';
}
},
files: [{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment