Developer Cloud Build job for building jfrmanager - nobuhikosekiya/jfrmanager GitHub Wiki

Main
Input the job title as you like.

Source Control
Set the branch to: master

Build Steps

Shell 1
cat <<'EOF' > jfrmanager-web/src/main/resources/application.properties
app.username=
app.password=
EOF
  • app.username ... This is the user for logging into jfrmanager. This user must be defined inside the WebLogic security realm with its group set to "jfrgroup". You must create this "jfrgroup" group also. This security is defined in WEB-INF/weblogic.xml.
  • app.password .. The password for above user.

Shell 2
cat <<'EOF' > jfrmanager-web/src/main/resources/storagecloud.properties
authurl=
baseurl=
servicename=
username=
password=
EOF
  • authurl ... The url that you use when you get the access auth token from Storage Cloud Service. In my case , this was: https://storage.us2.oraclecloud.com/auth/v1.0
  • baseurl ... The base url for your Storage Cloud Service. In my case , this was: https://<IDENTITY DOMAIN NAME>.storage.oraclecloud.com/v1/
  • servicename ... The service name of your Storage Cloud Service. In my case , this was: Storage-<IDENTITY DOMAIN NAME>
  • username/password ... The Oracle Cloud user and password for accessing Storage Cloud Service.

Shell 3
cat <<'EOF' > jfrmanager-web/src/main/resources/weblogic.properties
admin.username=
admin.password=
EOF
  • admin.username ... The WebLogic administrator username. (The one you use to login to WebLogic Administration Console). This is used for invoking the diagnostic image capture.
  • admin.password ... password for above user.

Invoke Maven
- Set the "Goal" to: package
- Set the "pom.xml" to: jfrmanager-web/pom.xml


Post Build

Set the "Files To Archive" to: jfrmanager-web/target/*.war


⚠️ **GitHub.com Fallback** ⚠️