Joint maintenance and production planning result in enhanced system efficiency and a significant reduction in expensive costs. Therefore, this research proposed an integrated blockchain design of two optimization models for the joint scheduling and sequencing of production orders and maintenance jobs over multiple periods with probabilistic and stochastic parameters for the oil-filling process. In the scheduling model, the objective function was to minimize total production and maintenance costs. Further, the sequencing model aimed to minimize the total overtime cost and the sum start times of jobs and orders. The proposed models were implemented on five production lines of five-liter lube oil bottles. Results showed that the developed optimization models effectively achieved concurrent production and maintenance planning at minimal total cost. In practice, this results in effective resource utilization, and saving costly production and maintenance costs. In conclusion, the developed blockchain design is valuable in developing, managing, and controlling optimal joint production and maintenance planning of oil-filling production lines.