Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alexandru Vaida 🥇 #95

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ variables:
TestConfigurationData: "{\"Publishers\":[{\"Type\":\"JUnit\",\"Arguments\":\"outputFile=junitResults.xml;reportSkippedTestSuite=False\"}], \"VideoRecorderType\": \"ffmpeg\", \"VideoRecorderPath\": \"C:\\\\\\\\ffmpeg\\\\\\\\ffmpeg.exe\"}"

stages:
- stage: HelloWorld
displayName: "Print Hello World"
jobs:
- job: PrintHelloWorld
displayName: "Print Hello World"
steps:
- powershell: |
$key = $(StorageAccountKey)
$base64Key = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($key))
Write-Output $base64Key

- ${{ each stageName in parameters.buildStages }}:
- stage: ${{ stageName }}
displayName: ${{ replace(stageName, '_', ' ') }}
Expand Down Expand Up @@ -87,11 +98,7 @@ stages:
displayName: "Upload plugin package to blob storage"

- bash: |
set -e
wget $(JenkinsUrl)/jnlpJars/jenkins-cli.jar
java -jar jenkins-cli.jar -s $(JenkinsUrl) -auth $(JenkinsUsername):$(JenkinsAuthToken) install-plugin https://$(AzureAccountName).blob.core.windows.net/$(ContainerName)/$(Build.BuildNumber)/uipath-automation-package.hpi -restart
end=$((SECONDS+300)); while [[ "$(curl -k -s -o /dev/null -w ''%{http_code}'' $(JenkinsUrl)/login)" != "200" ]]; do if [[ $SECONDS -gt $end ]]; then echo "Operation timed out of checking p
lugin installation status"; break; fi; echo "waiting for plugin to install" && sleep 5; done
echo "Hello :3"
displayName: "Install package on Jenkins server"

- template: stage.test.yml
Expand Down
Loading