add aliass scenario-reports-upload + scenario-reports-online and hide template+debug-log
This commit is contained in:
parent
c3f3efaf18
commit
f12ef76f05
3
.aliases
3
.aliases
@ -95,3 +95,6 @@ if [ ! -f .environment ]; then
|
|||||||
cp .tc-environment .environment
|
cp .tc-environment .environment
|
||||||
fi
|
fi
|
||||||
source .environment
|
source .environment
|
||||||
|
|
||||||
|
alias scenario-reports-upload='./gradlew convertMarkdownToHtml && ssh hsh03-hsngdev@h50.hostsharing.net "rm doms/hsngdev.hs-example.de/htdocs-ssl/scenarios/office/*.html" && scp doc/scenarios/*.html hsh03-hsngdev@h50.hostsharing.net:doms/hsngdev.hs-example.de/htdocs-ssl/scenarios/office'
|
||||||
|
alias scenario-reports-online='open https://hsngdev.hs-example.de/scenarios/office'
|
||||||
|
@ -410,7 +410,7 @@ tasks.register('convertMarkdownToHtml') {
|
|||||||
group = 'Conversion'
|
group = 'Conversion'
|
||||||
|
|
||||||
// Define the template file and input directory
|
// Define the template file and input directory
|
||||||
def templateFile = file('doc/scenarios/template.html')
|
def templateFile = file('doc/scenarios/.template.html')
|
||||||
|
|
||||||
// Task configuration and execution
|
// Task configuration and execution
|
||||||
doFirst {
|
doFirst {
|
||||||
@ -425,7 +425,7 @@ tasks.register('convertMarkdownToHtml') {
|
|||||||
|
|
||||||
// Check if the template file exists
|
// Check if the template file exists
|
||||||
if (!templateFile.exists()) {
|
if (!templateFile.exists()) {
|
||||||
throw new GradleException("Template file 'doc/scenarios/template.html' not found.")
|
throw new GradleException("Template file 'doc/scenarios/.template.html' not found.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
|
|
||||||
public class TestReport {
|
public class TestReport {
|
||||||
|
|
||||||
private final static File markdownLogFile = new File("doc/scenarios/last-debug-log.md");
|
private final static File markdownLogFile = new File("doc/scenarios/.last-debug-log.md");
|
||||||
|
|
||||||
private final Map<String, ?> aliases;
|
private final Map<String, ?> aliases;
|
||||||
private final PrintWriter markdownLog; // records everything for debugging purposes
|
private final PrintWriter markdownLog; // records everything for debugging purposes
|
||||||
|
Loading…
Reference in New Issue
Block a user