Skip to content
Snippets Groups Projects

Fix Jenkinsfile (simopenpass -> openpass)

Merged Frederic Gurr requested to merge fgurr/opSimulation:develop into develop
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -83,8 +83,8 @@ spec:
@@ -83,8 +83,8 @@ spec:
container('jnlp') {
container('jnlp') {
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sh '''
sh '''
ssh -o BatchMode=yes genie.simopenpass@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/simopenpass/snapshots
ssh -o BatchMode=yes genie.openpass@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/openpass/snapshots
[ -f artifacts/openPASS_SIM.tar.gz ] && scp -o BatchMode=yes artifacts/openPASS_SIM.tar.gz "genie.simopenpass@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/simopenpass/snapshots/openPASS_SIM_$(date -u +%Y%m%d_%H%M%S).tar.gz"
[ -f artifacts/openPASS_SIM.tar.gz ] && scp -o BatchMode=yes artifacts/openPASS_SIM.tar.gz "genie.openpass@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/openpass/snapshots/openPASS_SIM_$(date -u +%Y%m%d_%H%M%S).tar.gz"
'''
'''
}
}
}
}
@@ -134,8 +134,8 @@ spec:
@@ -134,8 +134,8 @@ spec:
steps {
steps {
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
bat '''
bat '''
C:\\msys64\\usr\\bin\\bash -lc 'ssh -o BatchMode=yes genie.simopenpass@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/simopenpass/snapshots'
C:\\msys64\\usr\\bin\\bash -lc 'ssh -o BatchMode=yes genie.openpass@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/openpass/snapshots'
C:\\msys64\\usr\\bin\\bash -lc '[ -f artifacts/openPASS_SIM.zip ] && scp -o BatchMode=yes artifacts/openPASS_SIM.zip "genie.simopenpass@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/simopenpass/snapshots/openPASS_SIM_$(date -u +%%Y%%m%%d_%%H%%M%%S).zip"'
C:\\msys64\\usr\\bin\\bash -lc '[ -f artifacts/openPASS_SIM.zip ] && scp -o BatchMode=yes artifacts/openPASS_SIM.zip "genie.openpass@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/openpass/snapshots/openPASS_SIM_$(date -u +%%Y%%m%%d_%%H%%M%%S).zip"'
'''
'''
}
}
}
}
Loading