-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathPSHitchhiker.settings.ps1
80 lines (62 loc) · 2.78 KB
/
PSHitchhiker.settings.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
###############################################################################
# Customize these properties and tasks
###############################################################################
param(
$Artifacts = './artifacts',
$ModuleName = 'PSHitchhiker',
$ModulePath = './PSHitchhiker',
$BuildNumber = $env:BUILD_NUMBER,
$PercentCompliance = '60'
)
###############################################################################
# Static settings -- no reason to include these in the param block
###############################################################################
$Settings = @{
SMBRepoName = 'DSCGallery'
SMBRepoPath = '\\Server01\Repo'
Author = "Michael Willis"
Owners = "Michael Willis"
LicenseUrl = 'https://github.com/Xainey/PSHitchhiker/LICENSE'
ProjectUrl = "https://github.com/Xainey/PSHitchhiker"
PackageDescription = "PSHitchhiker module pipeline demonstration"
Repository = 'https://github.com/Xainey/PSHitchhiker.git'
Tags = ""
# TODO: fix any redudant naming
GitRepo = "Xainey/PSHitchhiker"
CIUrl = "http://jenkins/job/PSHitchhiker/"
}
###############################################################################
# Before/After Hooks for the Core Task: Clean
###############################################################################
# Synopsis: Executes before the Clean task.
task BeforeClean {}
# Synopsis: Executes after the Clean task.
task AfterClean {}
###############################################################################
# Before/After Hooks for the Core Task: Analyze
###############################################################################
# Synopsis: Executes before the Analyze task.
task BeforeAnalyze {}
# Synopsis: Executes after the Analyze task.
task AfterAnalyze {}
###############################################################################
# Before/After Hooks for the Core Task: Archive
###############################################################################
# Synopsis: Executes before the Archive task.
task BeforeArchive {}
# Synopsis: Executes after the Archive task.
task AfterArchive {}
###############################################################################
# Before/After Hooks for the Core Task: Publish
###############################################################################
# Synopsis: Executes before the Publish task.
task BeforePublish {}
# Synopsis: Executes after the Publish task.
task AfterPublish {}
###############################################################################
# Before/After Hooks for the Core Task: Test
###############################################################################
# Synopsis: Executes before the Test Task.
task BeforeTest {}
# Synopsis: Executes after the Test Task.
task AfterTest {}