Skip to content

Instantly share code, notes, and snippets.

@ddl877
Last active August 29, 2015 14:06
Show Gist options
  • Save ddl877/1e1335b7426c7ced13d7 to your computer and use it in GitHub Desktop.
Save ddl877/1e1335b7426c7ced13d7 to your computer and use it in GitHub Desktop.
cruisecontrol project snippit
<!-- part of config.xml -->
<project name="my_test_project" forceOnly="true">
<schedule>
<exec workingdir="/home/build_user/my_test_project"
command="bash" args="my_build_cmd"/>
</schedule>
<publishers>
<onsuccess>
<artifactspublisher
dest="/home/build_user/artifacts/my_test_project"
dir="/home/build_user/my_test_project" />
</onsuccess>
</publishers>
</project>
#!/usr/bin/bash
echo start_to_log;
sleep 5;
echo "Hello! This is a test to the first file" > output_file;
echo extra > output_file_2;
echo done_to_log;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment