This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git
The following commit(s) were added to refs/heads/master by this push:
new 162fb0f fix syntax
162fb0f is described below
commit 162fb0fa509b3311582e11358ba0c9e7c50c34d4
Author: olivier lamy <[email protected]>
AuthorDate: Sun Dec 30 11:18:46 2018 +1000
fix syntax
Signed-off-by: olivier lamy <[email protected]>
---
Jenkinsfile | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index c87fdc1..89fa0e0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -69,12 +69,12 @@ pipeline {
cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern:
'.repository', type: 'EXCLUDE']]
}
unstable {
- scripts{
+ script{
asfStandardBuild.notifyBuild( "Unstable Build ")
}
}
failure {
- scripts{
+ script{
asfStandardBuild.notifyBuild( "Error in redback core build ")
}
}
@@ -82,9 +82,7 @@ pipeline {
script {
def previousResult = currentBuild.previousBuild?.result
if (previousResult && !currentBuild.resultIsWorseOrEqualTo(
previousResult ) ) {
- scripts{
- asfStandardBuild.notifyBuild( "Fixed" )
- }
+ asfStandardBuild.notifyBuild( "Fixed" )
}
}
}