File tree Expand file tree Collapse file tree 2 files changed +20
-19
lines changed Expand file tree Collapse file tree 2 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 1
- # # !/bin/bash
2
- # set -e
1
+ #! /bin/bash
2
+ set -e
3
3
4
- # echo "Starting Dremio service..."
4
+ echo " Starting Dremio service..."
5
5
6
6
# docker run -d \
7
7
# --network ci-network \
11
11
# -e "DREMIO_JAVA_SERVER_EXTRA_OPTS=-Ddebug.addDefaultUser=true" \
12
12
# dremio/dremio-oss
13
13
14
- # echo "Dremio service started."
15
-
16
- #! /bin/bash
17
- set -e
18
-
19
- echo " Checking Dremio Enterprise service health..."
14
+ ./enterprise/distribution/server/target/dremio-enterprise-26.0.0-SNAPSHOT/dremio-enterprise-26.0.0-SNAPSHOT/bin/dremio start
20
15
21
- # Check if Dremio is running by hitting the health endpoint
22
- if curl -s --head --request GET http://localhost:9047 | grep " 200 OK" > /dev/null; then
23
- echo " Dremio Enterprise service is running."
24
- else
25
- echo " Dremio Enterprise service is not running. Please start the service."
26
- exit 1
27
- fi
16
+ echo " Dremio service started."
Original file line number Diff line number Diff line change @@ -16,13 +16,25 @@ pipeline {
16
16
DBT_TEST_USER_1 = ' dbt_test_user_1'
17
17
DBT_TEST_USER_2 = ' dbt_test_user_2'
18
18
DBT_TEST_USER_3 = ' dbt_test_user_3'
19
+ GIT_CREDENTIALS = credentials(' github-dremio-jenkins-app' )
19
20
}
20
21
21
22
stages {
22
23
stage(' Checkout' ) {
23
- steps {
24
- checkout scm
25
- }
24
+ steps {
25
+ checkout scm // Repo A (default checkout)
26
+
27
+ dir(' dremio' ) { // Checkout Repo B in a separate folder
28
+ checkout([
29
+ $class : ' GitSCM' ,
30
+ branches : [[name : ' */main' ]],
31
+ userRemoteConfigs : [[
32
+ url : ' https://github.com/dremio/dremio.git' ,
33
+ credentialsId : ' github-app-credentials'
34
+ ]]
35
+ ])
36
+ }
37
+ }
26
38
}
27
39
28
40
stage(' Create Docker Network' ) {
You can’t perform that action at this time.
0 commit comments