File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ pipeline {
43
43
currentBuild. displayName = " #" + currentBuild. number + " " + env. BRANCH
44
44
currentBuild. description = " Drivers changed: " + env. CHANGED_DRIVERS
45
45
}
46
+ sh ' git config --global --add safe.directory "*"'
46
47
sh ' git clean -xfd'
47
48
sh ' apt-get update'
48
49
sh ' apt-get install zip -y'
Original file line number Diff line number Diff line change 10
10
print (CHANGED_DRIVERS )
11
11
branch_environment = "{}_{}_" .format (BRANCH , ENVIRONMENT )
12
12
ENVIRONMENT_URL = os .environ .get (ENVIRONMENT + '_ENVIRONMENT_URL' )
13
+ if not ENVIRONMENT_URL :
14
+ print ("No environment url specified, aborting." )
15
+ exit (0 )
16
+
13
17
UPLOAD_URL = ENVIRONMENT_URL + "/drivers/package"
14
18
CHANNEL_ID = os .environ .get (branch_environment + 'CHANNEL_ID' )
15
19
if not CHANNEL_ID :
You can’t perform that action at this time.
0 commit comments