我在mac上设置了jenkins。我可以使用它。
//Calculations for total points recieved and classroom percentage.
totalUserPoints = usersHomeworkScore + usersExamScore + usersReciationScore ;
scorePercentage = static_cast<float>(totalUserPoints)/(totalPossiblePoints);
//Outputs the total class points and if they would recieve an A
cout << endl << "Your total points for class is: " << totalUserPoints << endl ;
cout << "Which is a precentage of: " << (scorePercentage*100) <<" %" <<endl;
(localhost总是可以访问,可能,我可能已经在某些启动服务中安装了它)?
How to start & stop jenkins server on mac
答案 0 :(得分:0)
我知道它并不是严格相关的,但值得考虑使用Docker来运行Jenkins实例。它非常简单,非常适合测试目的(我想它不是你的制作环境吗?)。
答案 1 :(得分:0)
如何开始&amp;停止mac上的jenkins服务器?
您可以使用以下命令停止&amp;在MAC OS上启动jenkins -
停止 - sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
开始 - sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
使用泊坞窗时,您可以使用docker run
或以下docker-compose -
version: "3"
services:
jenkins:
image: jenkinsci/jenkins
ports:
- 8081:8080
volumes:
- /var/lib/jenkins:/var/jenkins_home