adding function brackets
This commit is contained in:
parent
64995e636b
commit
75c999a54f
@ -4,20 +4,20 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Build C#') {
|
stage('Build C#') {
|
||||||
steps {
|
steps {
|
||||||
dotnetRestore "Selector.Core.sln"
|
dotnetRestore ("Selector.Core.sln")
|
||||||
dotnetBuild "Selector.Core.sln"
|
dotnetBuild ("Selector.Core.sln")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build Javascript') {
|
stage('Build Javascript') {
|
||||||
steps {
|
steps {
|
||||||
sh "npm ci"
|
sh ("npm ci")
|
||||||
sh "npm run build --if-present"
|
sh ("npm run build --if-present")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
steps {
|
steps {
|
||||||
dotnetTest "Selector.Core.sln"
|
dotnetTest ("Selector.Core.sln")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
@ -29,7 +29,7 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
steps {
|
steps {
|
||||||
cleanWs
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user