This repository was archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Basic travis CI setup #2
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
sudo: required | ||
|
||
language: csharp | ||
dotnet: 2.1 | ||
mono: none | ||
|
||
services: | ||
- docker | ||
|
||
dist: trusty | ||
addons: | ||
apt: | ||
sources: | ||
- sourceline: "deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main" | ||
key_url: "https://packages.microsoft.com/keys/microsoft.asc" | ||
packages: | ||
- powershell | ||
|
||
before_install: | ||
- chmod ugo+x ./scripts/setup_repo.sh && ./scripts/setup_repo.sh | ||
- sudo apt-get install -y powershell | ||
|
||
install: | ||
- pwsh -f "./Install-Prerequisites.ps1" | ||
- export GitVersion_Version=$(docker run --rm -v "$(pwd):/repo" gittools/gitversion:5.0.0-linux-debian-9-netcoreapp2.2 /repo -output json -showvariable majorminorpatch) | ||
- "echo \"GitVersion says: ${GitVersion_Version} \"" | ||
|
||
script: | ||
- pwsh -c "Invoke-Psake -buildFile Build.ps1 -taskList build,test" | ||
|
||
deploy: | ||
provider: script | ||
script: pwsh -c "Invoke-Psake -buildFile Build.ps1 -taskList build,test,publish" | ||
on: | ||
tags: true | ||
branch: master | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
mode: ContinuousDelivery | ||
branches: {} | ||
ignore: | ||
sha: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# The psake module is needed to run tests and publish the module to powershell gallery. | ||
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted | ||
Install-Module -Name psake -RequiredVersion 4.8.0 -Repository "PSGallery" | ||
Install-Module -Name pester -RequiredVersion 4.8.0 -Repository "PSGallery" | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Release Notes for v0.0.14 | ||
==================================== | ||
# Release Notes | ||
|
||
## v0.1.0 | ||
Initial version that supports making basic requests to Jenkins via the Remote API. | ||
Includes convenience functions to make and delete jobs. | ||
|
||
Really nothing special to note yet. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.