Skip to content

Commit

Permalink
Reverted JenkinsFile before all RCPTT changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylussaud committed Dec 22, 2023
1 parent e1df596 commit 0960b07
Showing 1 changed file with 4 additions and 34 deletions.
38 changes: 4 additions & 34 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pipeline {
agent {
label 'centos-latest'
label 'migration'
}

options {
Expand All @@ -20,9 +20,6 @@ pipeline {

stages {
stage ('Nightly') {
agent {
label 'migration'
}
when {
allOf {
not {
Expand All @@ -35,14 +32,7 @@ pipeline {
}
steps {
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh '''
xsetroot -solid grey
xhost +
sleep 2
metacity --replace --sm-disable --display=${DISPLAY} &
sleep 2
mvn clean verify -P$PLATFORM -Psign -Dmaven.wagon.provider.http=httpclient -Dmaven.artifact.threads=12 -Dhttp.tcp.nodelay=false
'''
sh "mvn clean verify -P$PLATFORM -Psign"
}
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sh '''
Expand All @@ -53,9 +43,6 @@ pipeline {
}
}
stage ('Tag') {
agent {
label 'migration'
}
when {
allOf {
not {
Expand All @@ -66,14 +53,7 @@ pipeline {
}
steps {
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh '''
xsetroot -solid grey
xhost +
sleep 2
metacity --replace --sm-disable --display=${DISPLAY} &
sleep 2
mvn clean verify deploy:deploy -P$PLATFORM -Psign -Dmaven.wagon.provider.http=httpclient -Dmaven.artifact.threads=12 -Dhttp.tcp.nodelay=false
'''
sh "mvn clean verify deploy:deploy -P$PLATFORM -Psign"
}
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sh '''
Expand All @@ -84,22 +64,12 @@ pipeline {
}
}
stage ('PR Verify') {
agent {
label 'migration'
}
when {
branch 'PR-*'
}
steps {
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh '''
xsetroot -solid grey
xhost +
sleep 2
metacity --replace --sm-disable --display=${DISPLAY} &
sleep 2
mvn clean verify -P$PLATFORM -Dmaven.wagon.provider.http=httpclient -Dmaven.artifact.threads=12 -Dhttp.tcp.nodelay=false
'''
sh "mvn clean verify -P$PLATFORM"
}
}
}
Expand Down

0 comments on commit 0960b07

Please sign in to comment.