Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
f689b293
Unverified
Commit
f689b293
authored
Oct 17, 2018
by
Robert Knight
Committed by
GitHub
Oct 17, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #789 from hypothesis/fix-missing-block-warning
Wrap "stage" contents in a block in Jenkinsfile
parents
d0bb1615
8d46c138
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
24 deletions
+27
-24
Jenkinsfile
Jenkinsfile
+27
-24
No files found.
Jenkinsfile
View file @
f689b293
...
...
@@ -10,20 +10,22 @@ node {
returnStdout:
true
).
trim
()
stage
'Build'
stage
(
'Build'
)
{
nodeEnv
.
inside
(
"-e HOME=${workspace}"
)
{
sh
"echo Building Hypothesis client \"${pkgVersion}\""
sh
'make clean'
sh
'make'
}
}
stage
'Test'
stage
(
'Test'
)
{
nodeEnv
.
inside
(
"-e HOME=${workspace}"
)
{
sh
'make test'
}
}
if
(
isTag
())
{
stage
'Publish'
stage
(
'Publish'
)
{
nodeEnv
.
inside
(
"-e HOME=${workspace}"
)
{
withCredentials
([
[
$class
:
'StringBinding'
,
credentialsId:
'npm-token'
,
variable:
'NPM_TOKEN'
]])
{
...
...
@@ -42,6 +44,7 @@ node {
sh
"docker logs --follow ${c.id}"
}
}
}
}
boolean
isTag
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment