Skip to content

Commit

Permalink
Try RealPath to fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
sghill committed May 17, 2020
1 parent 27123f5 commit 47db1d4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ class GenerateJenkinsServerHplTaskSpec extends IntegrationSpec {
id 'org.jenkins-ci.jpi'
}
'''.stripIndent()
def realProjectDir = projectDir.root.toPath().toRealPath()
minimalAttributes = [
'Long-Name' : 'strawberry',
'Minimum-Java-Version' : '1.8',
'Support-Dynamic-Loading': 'true',
'Resource-Path' : new File(projectDir.root, 'src/main/webapp').path,
'Resource-Path' : realProjectDir.resolve('src/main/webapp').toString(),
'Libraries' : '',
'Plugin-Version' : '6.0.13',
'Jenkins-Version' : '2.222.3',
Expand Down

0 comments on commit 47db1d4

Please sign in to comment.