Skip to content

Configure

Loading

General

Description
Notarize dmg files on the download server that were previously promoted with <a href="https://ci.eclipse.org/packaging/job/promote-a-build/">https://ci.eclipse.org/packaging/job/promote-a-build/</a> 
or just the ones currently in <a href="https://download.eclipse.org/justj/?file=technology/epp/staging">https://download.eclipse.org/technology/epp/staging/</a>.
Inheritance Strategy
User/groupCredentialsJobRunJob Config HistoryPromotionSCM
CreateDeleteManageDomainsUpdateViewBuildCancelConfigureDeleteDiscoverExtendedReadMoveReadWorkspaceDeleteReplayUpdateDeleteEntryPromoteTag
Anonymous
Authenticated Users
mikael.barbero@eclipse-foundation.org
mknauer@eclipsesource.com
?

Loading...

Strategy
Project url?
N/A

Loading...

GitLab Connection
Credential :

Testing...

Loading...

?

Loading...

Promotion process
Name
N/A
Visible?
N/A

Loading...

Icon
Label Expression?
If not set, the label of the promoted build will be used.
N/A

Loading...

Criteria
?

Loading...

Groovy Script
N/A
?

Loading...

Additional classpath?
Classpath entry
JAR file path or URL?
N/A

Loading...

Loading...

?

Loading...

Approvers
N/A
Boolean Parameter ?

Loading...

Choice Parameter ?

Loading...

Credentials Parameter ?

Loading...

File Parameter ?

Loading...

Git Parameter ?

Loading...

Multi-line String Parameter
Password Parameter ?

Loading...

Promoted Build Parameter ?

Loading...

Run Parameter ?

Loading...

String Parameter ?

Loading...

?

Loading...

Loading...

?

Loading...

Loading...

Parameter Name
N/A
Parameter Value
N/A
?

Loading...

Job names
N/A

Loading...

?

Loading...

Promotion names
N/A
Promotion environment
?

Loading...

Bindings
Certificate ?

Loading...

Docker client certificate
Git Username and Password
SSH User Private Key ?

Loading...

Secret ZIP file ?

Loading...

Secret file ?

Loading...

Secret text ?

Loading...

Username and password (conjoined) ?

Loading...

Username and password (separated) ?

Loading...

?

Loading...

Managed Files
File?

Loading...

Target?
N/A

Loading...

Variable?
N/A

Loading...

Loading...

Loading...

File?

Loading...

Target?
N/A

Loading...

Variable?
N/A

Loading...

Loading...

Loading...

?

Loading...

Server authentication token
SonarQube authentication token. Mandatory when anonymous access is disabled. Will default to the one defined in the SonarQube installation.
?

Loading...

?

Loading...

Loading...

Credentials
N/A
N/A

Loading...

?

Loading...

Only post commit status of parent matrix job?

Loading...

Commit Status Context?
N/A

Loading...

Commit Status URL?
N/A

Loading...

Commit Status Build Triggered?
N/A

Loading...

Commit Status Build Started?
N/A

Loading...

Add test result one liner
Commit Status Build Result?
Build Result?

Loading...

Message?
N/A

Loading...

Loading...

?

Loading...

Kubernetes server endpoint?
N/A

Loading...

Certificate of certificate authority ?
N/A

Loading...

Credentials
Time-out strategy ?

Loading...

Time-out variable
Set a build timeout environment variable
N/A
Time-out actions?
Abort the build ?

Loading...

Fail the build ?

Loading...

Writing the build description ?

Loading...

Loading...

?

Loading...

Ant Version
JDK
Actions
Execute SonarQube Scanner
Execute Windows batch command ?

Loading...

Execute shell ?

Loading...

Invoke Ant ?

Loading...

Invoke top-level Maven targets ?

Loading...

Provide Configuration files ?

Loading...

Run with timeout
Set build status to "pending" on GitHub commit
SonarScanner for MSBuild - Begin Analysis ?

Loading...

SonarScanner for MSBuild - End Analysis ?

Loading...

Trigger/call builds on other projects
Aggregate downstream test results ?

Loading...

Archive the artifacts ?

Loading...

Build other projects ?

Loading...

Deploy artifacts to Maven repository ?

Loading...

Discover reference build
Mine SCM repository
Publish JUnit test result report ?

Loading...

Publish Javadoc
Record compiler warnings and static analysis results
Record fingerprints of files to track usage ?

Loading...

Git Publisher ?

Loading...

Github Pull Request Merger
SonarQube analysis with Maven ?

Loading...

Accept GitLab merge request on success
Add note with build status on GitLab merge requests ?

Loading...

Add vote for build status on GitLab merge requests
E-mail Notification ?

Loading...

Editable Email Notification ?

Loading...

Keep Build Forever ?

Loading...

Publish build status to GitLab ?

Loading...

Set GitHub commit status (universal) ?

Loading...

Set build status on GitHub commit [deprecated] ?

Loading...

Trigger parameterized build on other projects ?

Loading...

Delete workspace when build is done

Loading...

Promotion process
Name
N/A
Visible?
N/A

Loading...

Icon
Label Expression?
If not set, the label of the promoted build will be used.
N/A

Loading...

Criteria
?

Loading...

Groovy Script
N/A
?

Loading...

Additional classpath?
Classpath entry
JAR file path or URL?
N/A

Loading...

Loading...

?

Loading...

Approvers
N/A
Boolean Parameter ?

Loading...

Choice Parameter ?

Loading...

Credentials Parameter ?

Loading...

File Parameter ?

Loading...

Git Parameter ?

Loading...

Multi-line String Parameter
Password Parameter ?

Loading...

Promoted Build Parameter ?

Loading...

Run Parameter ?

Loading...

String Parameter ?

Loading...

?

Loading...

Loading...

?

Loading...

Loading...

Parameter Name
N/A
Parameter Value
N/A
?

Loading...

Job names
N/A

Loading...

?

Loading...

Promotion names
N/A
Promotion environment
?

Loading...

Bindings
Certificate ?

Loading...

Docker client certificate
Git Username and Password
SSH User Private Key ?

Loading...

Secret ZIP file ?

Loading...

Secret file ?

Loading...

Secret text ?

Loading...

Username and password (conjoined) ?

Loading...

Username and password (separated) ?

Loading...

?

Loading...

Managed Files
File?

Loading...

Target?
N/A

Loading...

Variable?
N/A

Loading...

Loading...

Loading...

File?

Loading...

Target?
N/A

Loading...

Variable?
N/A

Loading...

Loading...

Loading...

?

Loading...

Server authentication token
SonarQube authentication token. Mandatory when anonymous access is disabled. Will default to the one defined in the SonarQube installation.
?

Loading...

?

Loading...

Loading...

Credentials
N/A
N/A

Loading...

?

Loading...

Only post commit status of parent matrix job?

Loading...

Commit Status Context?
N/A

Loading...

Commit Status URL?
N/A

Loading...

Commit Status Build Triggered?
N/A

Loading...

Commit Status Build Started?
N/A

Loading...

Add test result one liner
Commit Status Build Result?
Build Result?

Loading...

Message?
N/A

Loading...

Loading...

?

Loading...

Kubernetes server endpoint?
N/A

Loading...

Certificate of certificate authority ?
N/A

Loading...

Credentials
Time-out strategy ?

Loading...

Time-out variable
Set a build timeout environment variable
N/A
Time-out actions?
Abort the build ?

Loading...

Fail the build ?

Loading...

Writing the build description ?

Loading...

Loading...

?

Loading...

Ant Version
JDK
Actions
Execute SonarQube Scanner
Execute Windows batch command ?

Loading...

Execute shell ?

Loading...

Invoke Ant ?

Loading...

Invoke top-level Maven targets ?

Loading...

Provide Configuration files ?

Loading...

Run with timeout
Set build status to "pending" on GitHub commit
SonarScanner for MSBuild - Begin Analysis ?

Loading...

SonarScanner for MSBuild - End Analysis ?

Loading...

Trigger/call builds on other projects
Aggregate downstream test results ?

Loading...

Archive the artifacts ?

Loading...

Build other projects ?

Loading...

Deploy artifacts to Maven repository ?

Loading...

Discover reference build
Mine SCM repository
Publish JUnit test result report ?

Loading...

Publish Javadoc
Record compiler warnings and static analysis results
Record fingerprints of files to track usage ?

Loading...

Git Publisher ?

Loading...

Github Pull Request Merger
SonarQube analysis with Maven ?

Loading...

Accept GitLab merge request on success
Add note with build status on GitLab merge requests ?

Loading...

Add vote for build status on GitLab merge requests
E-mail Notification ?

Loading...

Editable Email Notification ?

Loading...

Keep Build Forever ?

Loading...

Publish build status to GitLab ?

Loading...

Set GitHub commit status (universal) ?

Loading...

Set build status on GitHub commit [deprecated] ?

Loading...

Trigger parameterized build on other projects ?

Loading...

Delete workspace when build is done

Loading...

Rebuild options:?

Loading...

Loading...

Resources?
N/A

Loading...

Label?
N/A

Loading...

?

Loading...

Groovy Script
N/A
?

Loading...

Additional classpath?
Classpath entry
JAR file path or URL?
N/A

Loading...

Loading...

Reserved resources variable name?
N/A

Loading...

Number of resources to request?
N/A

Loading...

?

Loading...

String Parameter ?

Loading...

Name?
RELEASES_DIR

Loading...

Default Value?
/home/data/httpd/download.eclipse.org/technology/epp/staging

Loading...

Description?
Directory to search for *.dmg-tonotarize files to notarize (do NOT use a final slash!)

Loading...

?

Loading...

Boolean Parameter ?

Loading...

Choice Parameter ?

Loading...

Credentials Parameter ?

Loading...

File Parameter ?

Loading...

Git Parameter ?

Loading...

Multi-line String Parameter
Password Parameter ?

Loading...

Promoted Build Parameter ?

Loading...

Run Parameter ?

Loading...

String Parameter ?

Loading...

?

Loading...

Number of builds?
1

Loading...

Time period?

Loading...

?

Loading...

?

Loading...

JDK
JDK to be used for this project
?

Loading...

Label Expression?
N/A

Loading...

Source Code Management
?

Loading...

Repositories?
Repository URL?
N/A

Loading...

Credentials?

Loading...

Repository URL?
https://github.com/eclipse-packaging/packages.git

Loading...

Credentials?

Loading...

Loading...

Branches to build?
Branch Specifier (blank for 'any')?
*/master

Loading...

Branch Specifier (blank for 'any')?
master

Loading...

Loading...

Repository browser ?

Loading...

Additional Behaviours
Check out to a sub-directory
Local subdirectory for repo?
org.eclipse.epp.packages

Loading...

Advanced checkout behaviours
Advanced clone behaviours
Advanced sub-modules behaviours
Build single revision only ?

Loading...

Calculate changelog against a specific branch ?

Loading...

Check out to a sub-directory
Check out to specific local branch ?

Loading...

Clean after checkout ?

Loading...

Clean before checkout ?

Loading...

Create a tag for every build ?

Loading...

Custom SCM name ?

Loading...

Custom user name/e-mail address
Don't trigger a build on commit notifications ?

Loading...

Force polling using workspace ?

Loading...

Git LFS pull after checkout ?

Loading...

Merge before build ?

Loading...

Polling ignores commits from certain users
Polling ignores commits in certain paths ?

Loading...

Polling ignores commits with certain messages
Prune stale remote-tracking branches ?

Loading...

Prune stale tags
Sparse Checkout paths ?

Loading...

Strategy for choosing what to build ?

Loading...

Use commit author in changelog ?

Loading...

Wipe out repository & force clone ?

Loading...

Build Triggers
?

Loading...

Authentication Token
N/A Use the following URL to trigger build remotely: JENKINS_URL/job/notarize-downloads/build?token=TOKEN_NAME or /buildWithParameters?token=TOKEN_NAME
Optionally append &cause=Cause+Text to provide text that will be included in the recorded build cause.
?

Loading...

Projects to watch
N/A
?

Loading...

Schedule?
N/A

Loading...

?

Loading...

Enabled GitLab triggers
Push Events?

Loading...

Push Events in case of branch delete?

Loading...

Opened Merge Request Events?

Loading...

Build only if new commits were pushed to Merge Request?

Loading...

Accepted Merge Request Events?

Loading...

Closed Merge Request Events?

Loading...

Rebuild open Merge Requests?

Loading...

Approved Merge Requests (EE-only)?

Loading...

Comments?

Loading...

Comment (regex) for triggering a build?
Jenkins please retry a build

Loading...

Job Name
N/A
Promotion
GitHub API credentials
Admin list
N/A
Use github hooks for build triggering?

Loading...

?

Loading...

?

Loading...

Schedule?
N/A

Loading...

?

Loading...

Build Environment
?

Loading...

Bindings
Certificate ?

Loading...

Docker client certificate
Git Username and Password
SSH User Private Key ?

Loading...

Secret ZIP file ?

Loading...

Secret file ?

Loading...

Secret text ?

Loading...

Username and password (conjoined) ?

Loading...

Username and password (separated) ?

Loading...

?

Loading...

Managed Files
File?

Loading...

Target?
N/A

Loading...

Variable?
N/A

Loading...

Loading...

Loading...

File?

Loading...

Target?
N/A

Loading...

Variable?
N/A

Loading...

Loading...

Loading...

?

Loading...

Server authentication token
SonarQube authentication token. Mandatory when anonymous access is disabled. Will default to the one defined in the SonarQube installation.
?

Loading...

?

Loading...

Loading...

Credentials
N/A
N/A

Loading...

?

Loading...

Only post commit status of parent matrix job?

Loading...

Commit Status Context?
N/A

Loading...

Commit Status URL?
N/A

Loading...

Commit Status Build Triggered?
N/A

Loading...

Commit Status Build Started?
N/A

Loading...

Add test result one liner
Commit Status Build Result?
Build Result?

Loading...

Message?
N/A

Loading...

Loading...

?

Loading...

Kubernetes server endpoint?
N/A

Loading...

Certificate of certificate authority ?
N/A

Loading...

Credentials
Time-out strategy ?

Loading...

Time-out variable
Set a build timeout environment variable
N/A
Time-out actions?
Abort the build ?

Loading...

Abort the build ?

Loading...

Fail the build ?

Loading...

Writing the build description ?

Loading...

Loading...

?

Loading...

Ant Version
JDK
Build Steps
Execute shell ?

Loading...

Command
#!/bin/bash

set -u # run with unset flag error so that missing parameters cause build failure
set -e # error out on any failed commands
set -x # echo all commands used for debugging purposes
export PS4='+$$+ ' # add PID to output so that parallel bash process output is easier to follow

SSHUSER="genie.packaging@projects-storage.eclipse.org"
SSH="ssh ${SSHUSER}"
SCP="scp"

#RELEASES_DIR="/home/data/httpd/download.eclipse.org/technology/epp/downloads/release"

# download dmg-tonotarize files
mkdir temp
pushd temp
for path in $( ${SSH} find ${RELEASES_DIR}  -maxdepth 1 -name '*.dmg-tonotarize' )
do
  ${SCP} ${SSHUSER}:${path} .
done
popd

# notarize dmg-tonotarize files
for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize')
do
  DMG_FILE=${i/-tonotarize/}
  LOG=$(basename ${i}).log
  echo "Starting ${DMG_FILE}" >> ${LOG}
  ${WORKSPACE}/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh ${DMG_FILE}  |& tee --append ${LOG} &
  sleep 18s # start jobs at a small interval from each other
done

jobs -p
wait < <(jobs -p)

# upload notarized dmg files to their respective folders
pushd temp
for i in $( find * -name '*.dmg' )
do
  ${SCP} ${i}* ${SSHUSER}:${RELEASES_DIR}
  # Save the signed, but unnotarized files. See Bug 575677
  ${SSH} mv ${RELEASES_DIR}/${i}-tonotarize ${RELEASES_DIR}/${i}-signed
  ${SSH} rm ${RELEASES_DIR}/${i}-tonotarize'*'
done
popd 

if [[ -n `find ${WORKSPACE} -name '*.dmg-tonotarize'` ]]; then
  echo "Failed to notarize the following"
  find ${WORKSPACE} -name '*.dmg-tonotarize'
  exit 1
fi

Conditional step (single) ?

Loading...

Conditional steps (multiple)
Execute SonarQube Scanner
Execute Windows batch command ?

Loading...

Execute shell ?

Loading...

Invoke Ant ?

Loading...

Invoke top-level Maven targets ?

Loading...

Provide Configuration files ?

Loading...

Run with timeout
Set build status to "pending" on GitHub commit
SonarScanner for MSBuild - Begin Analysis ?

Loading...

SonarScanner for MSBuild - End Analysis ?

Loading...

Trigger/call builds on other projects
Post-build Actions
Archive the artifacts ?

Loading...

Files to archive?
*.log

Loading...

E-mail Notification ?

Loading...

Recipients
Whitespace-separated list of recipient addresses. May reference build parameters like $PARAM. E-mail will be sent when a build fails, becomes unstable or returns to stable.
 jonah@kichwacoders.com

Loading...

Aggregate downstream test results ?

Loading...

Archive the artifacts ?

Loading...

Build other projects ?

Loading...

Discover reference build
Mine SCM repository
Publish JUnit test result report ?

Loading...

Publish Javadoc
Record compiler warnings and static analysis results
Record fingerprints of files to track usage ?

Loading...

Git Publisher ?

Loading...

Github Pull Request Merger
SonarQube analysis with Maven ?

Loading...

Accept GitLab merge request on success
Add note with build status on GitLab merge requests ?

Loading...

Add vote for build status on GitLab merge requests
E-mail Notification ?

Loading...

Editable Email Notification ?

Loading...

Publish build status to GitLab ?

Loading...

Set GitHub commit status (universal) ?

Loading...

Set build status on GitHub commit [deprecated] ?

Loading...

Trigger parameterized build on other projects ?

Loading...

Delete workspace when build is done