Skip to content
Snippets Groups Projects
Commit 1bf05a2f authored by Sander's avatar Sander
Browse files

Små fikser her og der, spesielt med tanke på script som setter opp...

Små fikser her og der, spesielt med tanke på script som setter opp miljøet/servere, for å få til å fungere på Ubuntu Server.
parent c985f9f2
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,11 @@ pipeline { ...@@ -12,6 +12,11 @@ pipeline {
sh 'mvn clean test' sh 'mvn clean test'
} }
} }
post {
always {
junit 'target/surefire-reports/*.xml'
}
}
} }
stage('Build') { stage('Build') {
steps{ steps{
......
#!/bin/bash #!/bin/bash
wget https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/2.3.1/gatling-charts-highcharts-bundle-2.3.1-bundle.zip wget https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/2.3.1/gatling-charts-highcharts-bundle-2.3.1-bundle.zip -P ~
mv gatling-charts-highcharts-bundle-2.3.1-bundle.zip ~/Desktop unzip ~/gatling-charts-highcharts-bundle-2.3.1-bundle.zip -d ~
cd ~/Desktop
unzip gatling-charts-highcharts-bundle-2.3.1-bundle.zip
echo Gatling Stress Tool installed echo Gatling Stress Tool installed
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
<version>2.5.1</version> <version>2.5.1</version>
<inherited>true</inherited> <inherited>true</inherited>
<configuration> <configuration>
<source>1.7</source> <source>8</source>
<target>1.7</target> <target>8</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
......
#!/bin/bash #!/bin/bash
cd gatling cp -r gatling/chat ~/gatling-charts-highcharts-bundle-2.3.1/user-files/simulations
cp -r chat ~/Desktop/gatling-charts-highcharts-bundle-2.3.1/user-files/simulations cp gatling/usernames.csv ~/gatling-charts-highcharts-bundle-2.3.1/user-files/data
cp usernames.csv ~/Desktop/gatling-charts-highcharts-bundle-2.3.1/user-files/data ~/gatling-charts-highcharts-bundle-2.3.1/bin/gatling.sh
cd ~/Desktop/gatling-charts-highcharts-bundle-2.3.1/bin \ No newline at end of file
./gatling.sh
#!/bin/bash #!/bin/bash
clear clear
echo "Starting logsystem" echo "Starting logsystem"
cp glances.conf ~/.config/glances/glances.conf touch ~/warnings.txt
touch ~/Desktop/warnings.txt
sleep 3 sleep 3
sudo glances --export influxdb -q & sudo glances -C glances.conf --export influxdb -q &
\ No newline at end of file \ No newline at end of file
...@@ -2,5 +2,4 @@ ...@@ -2,5 +2,4 @@
clear clear
echo "Setting up logsystem" echo "Setting up logsystem"
sudo pip install influxdb sudo pip install influxdb
mkdir ~/.config/glances
sudo docker-compose -f docker-compose-logging.yaml up -d sudo docker-compose -f docker-compose-logging.yaml up -d
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment