collapse
60%
WDescription%
Build stability: 2 out of the last 5 builds failed.60
Build History
x
 x11 KB
 5 KB
 x5 KB
 x5 KB
 4 KB
 4 KB
 4 KB
 4 KB
 4 KB
 4 KB
 4 KB
 x4 KB
 x4 KB
 x3 KB
 2 KB
 x3 KB
 2 KB

Job Configuration Difference

mac-sign
Older Change
Operation:Changed
Newer Change
Operation:Changed
6
    <hudson.tasks.Shell>
6
    <hudson.tasks.Shell>
7
      <command>cp \
7
      <command>cp \
8
  /home/data/httpd/download.eclipse.org/oomph/products/eclipse-inst-mac64.dmg \
8
  /home/data/httpd/download.eclipse.org/oomph/products/eclipse-inst-mac64.dmg \
9
  eclipse-inst-mac64-unnotarized.dmg
9
  eclipse-inst-mac64.dmg
10
10
11
RESPONSE=\
11
RESPONSE=\
12
$(curl -X POST \
12
$(curl -X POST \
13
  -F file=@eclipse-inst-mac64-unnotarized.dmg \
13
  -F file=@eclipse-inst-mac64.dmg \
14
  -F 'options={"primaryBundleId": "app-bundle", "staple": true};type=application/json' \
14
  -F 'options={"primaryBundleId": "app-bundle", "staple": true};type=application/json' \
15
  http://172.30.206.146:8383/macos-notarization-service/notarize)
15
  http://172.30.206.146:8383/macos-notarization-service/notarize)
16
  
16
  
17
UUID=$(echo $RESPONSE | grep -Po '"uuid"\s*:\s*"\K[^"]+')
17
UUID=$(echo $RESPONSE | grep -Po '"uuid"\s*:\s*"\K[^"]+')
18
18
STATUS=$(echo $RESPONSE | grep -Po '"status"\s*:\s*"\K[^"]+')
19
STATUS=$(echo $RESPONSE | grep -Po '"status"\s*:\s*"\K[^"]+')
19
20
20
if [[ $STATUS != 'IN_PROGRESS' ]]; then
21
while [[ $STATUS == 'IN_PROGRESS' ]]; do
21
  echo "Upload failed"
22
  sleep 1m
23
  RESPONSE=$(curl -s http://172.30.206.146:8383/macos-notarization-service/$UUID/status)
24
  STATUS= $(echo $RESPONSE | grep -Po '"status"\s*:\s*"\K[^"]+')
25
done
26
if [[ $STATUS != 'COMPLETE' ]]; then
27
  echo "Upload failed: $RESPONSE"
22
  exit 1
28
  exit 1
23
fi
29
fi
24
30
25
echo 'continue'</command>
31
mv eclipse-inst-mac64.dmg eclipse-inst-mac64-unnotarized.dmg
32
curl -JO http://localhost:8282/macos-notarization-service/$UUID/download</command>
26
    </hudson.tasks.Shell>
33
    </hudson.tasks.Shell>
27
  </builders>
34
  </builders>
28
  <buildWrappers/>
35
  <buildWrappers/>