Commit cd20cac8 authored by gonciarz's avatar gonciarz

test build

parent 713580c3
......@@ -27,7 +27,7 @@ fi
cd $FIJI_MOSAIC_PLUGIN_PATH/../..
# During build log4j.properties file is copied to bin directory.
./ImageJ-linux64 -Dlog4j.configuration=file:"$MOSAIC_PLUGIN_PATH/bin/log4j.properties" -- --system -batch test.ijm "username=incardon"
./ImageJ-linux64 -Dlog4j.configuration=file:"$MOSAIC_PLUGIN_PATH/bin/log4j.properties" -- --system -batch test.ijm "username=jenkins"
# check if tmp/test has succeful file
......
......@@ -61,7 +61,7 @@ public class ClusterGUI extends JDialog {
dir += File.separator + ".MosaicToolSuite" + File.separator + "clusterProfile";
final File cpf[] = new File(dir).listFiles();
if (cpf != null) {
cp = new ClusterProfile[cpf.length + 1];
cp = new ClusterProfile[cpf.length + 2];
int cnt = 0;
for (final File tcpf : cpf) {
......@@ -75,7 +75,8 @@ public class ClusterGUI extends JDialog {
// Set coded profile
cp[cp.length - 1] = new MadMaxProfile();
cp[cp.length - 2] = new MadMaxProfile();
cp[cp.length - 1] = new JenkinsTestProfile();
cp_sel = cp[cp.length - 1];
// Create a set of strings
......
package mosaic.core.cluster;
/**
* Hard coded implementation of the cherryphi-1 server
*/
class JenkinsTestProfile extends GeneralProfile {
JenkinsTestProfile() {
setAcc(hw.CPU);
setQueue(9999, "normal");
setBatchSystem(new LSFBatch(this));
}
@Override
public String getProfileName() {
return "Jenkins - cherryphi-1";
}
@Override
public void setProfileName(String ProfileName_) {
}
@Override
public String getAccessAddress() {
return "cherryphi-1";
}
@Override
public String getRunningDir() {
return "/home/" + UserName + "/scratch/";
}
@Override
public void setRunningDir(String RunningDir_) {
}
@Override
public String getImageJCommand() {
return "fiji";
}
@Override
public void setImageJCommand(String ImageJCommand_) {
}
@Override
public boolean hasCompressor(DataCompression.Algorithm a) {
if (a == null) {
return true;
}
if (a.name.equals("TAR")) {
return true;
}
else if (a.name.equals("ZIP")) {
return true;
}
return false;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment