File tree Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 14
14
- pwsh : |
15
15
java -version
16
16
displayName: 'Check default java version'
17
+ - pwsh : |
18
+ .\installJavaAdditions.ps1
19
+ displayName: 'Install java-additions locally'
17
20
- pwsh : |
18
21
mvn clean package
19
22
displayName: 'Build java worker'
Original file line number Diff line number Diff line change 57
57
- pwsh : |
58
58
java -version
59
59
displayName: 'Check default java version'
60
+ - pwsh : |
61
+ .\installJavaAdditions.ps1
62
+ displayName: 'Install java-additions locally'
60
63
- pwsh : |
61
64
if ("$(isTag)"){
62
65
$buildNumber="$(Build.SourceBranchName)"
Original file line number Diff line number Diff line change 47
47
- pwsh : |
48
48
java -version
49
49
displayName: 'Check default java version'
50
+ - pwsh : |
51
+ .\installJavaAdditions.ps1
52
+ displayName: 'Install java-additions locally'
50
53
- pwsh : |
51
54
if ("$(isTag)"){
52
55
$buildNumber="$(Build.SourceBranchName)"
Original file line number Diff line number Diff line change
1
+ # Variables
2
+ $repoUrl = ' https://github.com/ahmedmuhsin/azure-functions-java-additions.git'
3
+ $branchName = ' sdk-types'
4
+ $repoName = ' azure-functions-java-additions'
5
+
6
+ # Clone the repository
7
+ git clone $repoUrl
8
+
9
+ # Change directory to the cloned repository
10
+ Set-Location $repoName
11
+
12
+ # Checkout the desired branch
13
+ git checkout $branchName
14
+
15
+ # Run the batch script (mvnBuild.bat)
16
+ & " .\mvnBuild.bat"
You can’t perform that action at this time.
0 commit comments