Skip to content

Commit

Permalink
[JENKINS-45459] Fix 'shortened' Jenkins version in upgrade wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed Jul 11, 2017
1 parent e509d27 commit 2e6e619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion war/src/main/js/pluginSetupWizardGui.js
Expand Up @@ -203,7 +203,7 @@ var createPluginSetupWizard = function(appendTarget) {
};

var getJenkinsVersion = function() {
return getJenkinsVersionFull().replace(/(\d[.]\d).*/,'$1');
return getJenkinsVersionFull().replace(/(\d[.][\d.]+).*/,'$1');
};

// call this to set the panel in the app, this performs some additional things & adds common transitions
Expand Down

0 comments on commit 2e6e619

Please sign in to comment.