@@ -57,58 +57,58 @@ function build() {
57
57
#
58
58
logmust cd " $WORKDIR /repo/appliance"
59
59
60
- local args=()
61
-
62
- set_secret_build_args
63
- args+=(" ${_SECRET_BUILD_ARGS[@]} " )
64
-
65
- args+=(" -Dbuild.branch=$DEFAULT_GIT_BRANCH " )
66
-
67
- args+=(" -Ddockerize=true" )
68
- args+=(" -DbuildJni=true" )
69
-
70
- if [[ -n " $DELPHIX_RELEASE_VERSION " ]]; then
71
- args+=(" -DhotfixGenDlpxVersion=$DELPHIX_RELEASE_VERSION " )
72
- fi
73
-
74
- logmust ant " ${args[@]} " all-secrets package
75
-
76
- #
77
- # Publish the virtualization package artifacts
78
- #
79
- logmust cd " $WORKDIR /repo/appliance"
80
- logmust rsync -av packaging/build/distributions/ " $WORKDIR /artifacts/"
81
- logmust rsync -av \
82
- bin/out/common/com.delphix.common/uem/tars \
83
- " $WORKDIR /artifacts/hostchecker2"
84
- logmust cp -v \
85
- server/api/build/api/json-schemas/delphix.json \
86
- " $WORKDIR /artifacts"
87
- logmust cp -v \
88
- dist/server/opt/delphix/client/etc/api.ini \
89
- " $WORKDIR /artifacts"
90
- logmust cp -v \
91
- packaging/build/reports/dependency-license/* \
92
- " $WORKDIR /artifacts/"
93
-
94
- #
95
- # Build the "toolkit-devkit" artifacts
96
- #
97
- logmust cd " $WORKDIR /repo/appliance/toolkit"
98
- if [[ -n " $DELPHIX_RELEASE_VERSION " ]]; then
99
- logmust ant \
100
- -Dversion.number=" $DELPHIX_RELEASE_VERSION " \
101
- toolkit-devkit
102
- else
103
- logmust ant \
104
- " -Dversion.number=$( date --utc +%Y-%m-%d-%H-%m) " \
105
- toolkit-devkit
106
- fi
107
-
108
- #
109
- # Publish the "toolkit-devkit" artifacts
110
- #
111
- logmust cd " $WORKDIR /repo/appliance"
112
- logmust mkdir -p " $WORKDIR /artifacts/hostchecker2"
113
- logmust cp -v toolkit/toolkit-devkit.tar " $WORKDIR /artifacts"
60
+ # local args=()
61
+ #
62
+ # set_secret_build_args
63
+ # args+=("${_SECRET_BUILD_ARGS[@]}")
64
+ #
65
+ # args+=("-Dbuild.branch=$DEFAULT_GIT_BRANCH")
66
+ #
67
+ # args+=("-Ddockerize=true")
68
+ # args+=("-DbuildJni=true")
69
+ #
70
+ # if [[ -n "$DELPHIX_RELEASE_VERSION" ]]; then
71
+ # args+=("-DhotfixGenDlpxVersion=$DELPHIX_RELEASE_VERSION")
72
+ # fi
73
+ #
74
+ # logmust ant "${args[@]}" all-secrets package
75
+ #
76
+ # #
77
+ # # Publish the virtualization package artifacts
78
+ # #
79
+ # logmust cd "$WORKDIR/repo/appliance"
80
+ # logmust rsync -av packaging/build/distributions/ "$WORKDIR/artifacts/"
81
+ # logmust rsync -av \
82
+ # bin/out/common/com.delphix.common/uem/tars \
83
+ # "$WORKDIR/artifacts/hostchecker2"
84
+ # logmust cp -v \
85
+ # server/api/build/api/json-schemas/delphix.json \
86
+ # "$WORKDIR/artifacts"
87
+ # logmust cp -v \
88
+ # dist/server/opt/delphix/client/etc/api.ini \
89
+ # "$WORKDIR/artifacts"
90
+ # logmust cp -v \
91
+ # packaging/build/reports/dependency-license/* \
92
+ # "$WORKDIR/artifacts/"
93
+ #
94
+ # #
95
+ # # Build the "toolkit-devkit" artifacts
96
+ # #
97
+ # logmust cd "$WORKDIR/repo/appliance/toolkit"
98
+ # if [[ -n "$DELPHIX_RELEASE_VERSION" ]]; then
99
+ # logmust ant \
100
+ # -Dversion.number="$DELPHIX_RELEASE_VERSION" \
101
+ # toolkit-devkit
102
+ # else
103
+ # logmust ant \
104
+ # "-Dversion.number=$(date --utc +%Y-%m-%d-%H-%m)" \
105
+ # toolkit-devkit
106
+ # fi
107
+ #
108
+ # #
109
+ # # Publish the "toolkit-devkit" artifacts
110
+ # #
111
+ # logmust cd "$WORKDIR/repo/appliance"
112
+ # logmust mkdir -p "$WORKDIR/artifacts/hostchecker2"
113
+ # logmust cp -v toolkit/toolkit-devkit.tar "$WORKDIR/artifacts"
114
114
}
0 commit comments