Matt
1. docker jenkins..
2. docker build Env..
$docker compose up -dAfter install Jenkins...
change Jenkins admin password..
install plugins...
$docker ps -a
$docker exec hijenkins cat /var/jenkins_home/secrets/initialAdminPassword
$docker exec -it hislave_ionic bashand Little Concept about Docker...
Master vs Slave
checkout from remote VCS
Pipe Line
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Building..'
}
}
stage('Test') {
steps {
echo 'Testing..'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}1. GUI options..
2. check out from VCS
3. find JenkinsFile
4. start run JenkinsFile..
In JenkinsFile...
Find agent (Label Name)
step1: custom checkout
step2: run node.js script
step3: Build apk named by buildTag Number
- Android
./gradlew clean assembleDebugxcodebuild archive -scheme Project_Scheme -target Project_Target
-archivePath ~/Desktop/project.xcarchivexcodebuild -exportArchive -archivePath ~/Desktop/project.xcarchive
-exportOptionsPlist exportOptions.plist
-configuration Debug -exportPath ~/Desktop/
Archive
Export Archive (ipa)
- iOS