Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
540ccb7d
Commit
540ccb7d
authored
14 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
screening: correct integration tests to use Hudson
SVN: 17439
parent
d4c01a40
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
integration-tests/common.bash
+4
-3
4 additions, 3 deletions
integration-tests/common.bash
with
4 additions
and
3 deletions
integration-tests/common.bash
+
4
−
3
View file @
540ccb7d
...
@@ -18,7 +18,7 @@ LOCAL_PROJECTS=..
...
@@ -18,7 +18,7 @@ LOCAL_PROJECTS=..
OPENBIS_SERVER
=
$WORK
/openBIS-server
OPENBIS_SERVER
=
$WORK
/openBIS-server
SSH_CRUISE_CONTROL_NAME
=
ci@cisd-vesuvio.ethz.ch
SSH_CRUISE_CONTROL_NAME
=
ci@cisd-vesuvio.ethz.ch
CRUISE_CONTROL_ARTIFACTS
=
cruisecontrol-bin/artifact
s
HUDSON_ARTIFACTS
=
hudson/job
s
# ----------------------------- global state
# ----------------------------- global state
...
@@ -320,10 +320,11 @@ function fetch_latest_artifacts_from_cruise_control {
...
@@ -320,10 +320,11 @@ function fetch_latest_artifacts_from_cruise_control {
local
proj_name
=
$1
local
proj_name
=
$1
local
dest_dir
=
$2
local
dest_dir
=
$2
local
list_cmd
=
"ls -1
$CRUISE_CONTROL_ARTIFACTS
/
$proj_name
| sort | tail -1"
local
last_build
=
"
$HUDSON_ARTIFACTS
/
$proj_name
/lastSuccessful/archive/_main/targets/dist"
local
list_cmd
=
"ls -1
$last_build
| sort | tail -1"
local
last
=
`
echo
$list_cmd
| ssh
$SSH_CRUISE_CONTROL_NAME
-T
`
local
last
=
`
echo
$list_cmd
| ssh
$SSH_CRUISE_CONTROL_NAME
-T
`
echo
"Fetching artifacts for
$proj_name
:
$last
"
echo
"Fetching artifacts for
$proj_name
:
$last
"
scp
$SSH_CRUISE_CONTROL_NAME
:
$
CRUISE_CONTROL_ARTIFACTS
/
$proj_name
/
$last
/
*
.zip
$dest_dir
scp
$SSH_CRUISE_CONTROL_NAME
:
$
last_build
/
*
.zip
$dest_dir
}
}
# -------------------------- installation
# -------------------------- installation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment