Skip to content

Commit

Permalink
Changed Jenkinsfile for RCPTT tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylussaud committed Dec 22, 2023
1 parent f145b74 commit 610d557
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,16 @@ pipeline {
}
steps {
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh "mvn clean verify -P$PLATFORM -Psign -Dmaven.wagon.provider.http=httpclient -Dmaven.artifact.threads=12 -Dhttp.tcp.nodelay=false"
sh '''
xrandr -s 1440x900
xsetroot -solid grey
vncconfig -iconic &
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
'''
}
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sh '''
Expand All @@ -53,7 +62,16 @@ pipeline {
}
steps {
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh "mvn clean verify deploy:deploy -P$PLATFORM -Psign -Dmaven.wagon.provider.http=httpclient -Dmaven.artifact.threads=12 -Dhttp.tcp.nodelay=false"
sh '''
xrandr -s 1440x900
xsetroot -solid grey
vncconfig -iconic &
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
'''
}
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sh '''
Expand All @@ -69,7 +87,16 @@ pipeline {
}
steps {
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh "mvn clean verify -P$PLATFORM -Dmaven.wagon.provider.http=httpclient -Dmaven.artifact.threads=12 -Dhttp.tcp.nodelay=false"
sh '''
xrandr -s 1440x900
xsetroot -solid grey
vncconfig -iconic &
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
'''
}
}
}
Expand Down

0 comments on commit 610d557

Please sign in to comment.