jenkins : Changing Jenkins build number

 

If you have access to the script console (Manage Jenkins -> Script Console), then you can do this following:

 

Jenkins.instance.getItemByFullName("YourJobName").updateNextBuildNumber(45)

参考:

[1]:http://stackoverflow.com/questions/19645430/changing-jenkins-build-number/23221327

jenkins : docker Kubernetes

 

参考:

  1. https://yeasy.gitbooks.io/docker_practice/content/kubernetes/quickstart.html [文档]
  2. http://suqun.org/2016/10/17/docker-jenkins/
  3. http://www.itdadao.com/articles/c15a800530p0.html [很详细]
  4. http://www.cnblogs.com/hahp/p/5812455.html
  5. http://blog.fleeto.us/content/jenkinscheng-zhao-kubernetes-de-chi-bang
  6. http://dockone.io/article/666
  7. https://github.com/GoogleCloudPlatform/continuous-deployment-on-kubernetes

 

 

jenkins : 优化 [TODO]

  1.  配置子节点,进行任务管理,设置从站 ,分布式搭建
  2. 使用Docker
  3. 插件开发
  4. 数据迁移
  5. 并行任务
  6. 构建完+自动化测试

 

参考:

  1. https://toutiao.io/posts/za7ca0/preview
  2. http://www.wxzhi.com/archives/799/vdlyf7q7b62dmgcv/
  3. https://read01.com/NjD5yJ.html
  4. https://blog.phpgao.com/docker_build_optimize.html
  5. https://jenkins.io/doc/book/blueocean/getting-started/ [官方文档]
  6. http://www.jianshu.com/p/f602bfebabbb
  7. http://www.cnblogs.com/zhuque/archive/2013/01/23/2873610.html
  8. http://discuss.greatops.net/t/jenkins/32  [详细]

切换jenkins 帐号

if for some reason you want to login as jenkins, you can do so with:

sudo su -s /bin/bash jenkins

 

参考:

[1]http://stackoverflow.com/questions/18068358/cant-su-to-user-jenkins-after-installing-jenkins